	.file	"extr_hexium_gemini.c_hexium_set_standard.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"hexium_init_done: hexium_set_standard() failed for address 0x%02x\n"
	.text
	.p2align 4
	.type	hexium_set_standard, @function
hexium_set_standard:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	lea	rdi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r13, 4[rsp]
	call	DEB_D@PLT
	mov	r8d, DWORD PTR 0[rbp]
	cmp	r8d, -1
	jne	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	add	rbx, 1
	mov	r8d, DWORD PTR 0[rbp+rbx*8]
	cmp	r8d, -1
	je	.L6
.L5:
	mov	eax, DWORD PTR 4[rbp+rbx*8]
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	ecx, DWORD PTR I2C_SMBUS_WRITE[rip]
	xor	edx, edx
	mov	r9d, DWORD PTR I2C_SMBUS_BYTE_DATA[rip]
	mov	esi, 108
	mov	rdi, r12
	mov	DWORD PTR 12[rsp], eax
	push	r13
	.cfi_def_cfa_offset 80
	call	i2c_smbus_xfer@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	test	rax, rax
	je	.L4
	mov	esi, ebx
	lea	rdi, .LC1[rip]
	call	pr_err@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hexium_set_standard, .-hexium_set_standard
	.comm	I2C_SMBUS_WRITE,4,4
	.comm	I2C_SMBUS_BYTE_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hexium_gemini.c_hexium_set_standard.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"hexium_init_done: hexium_set_standard() failed for "
	.ascii	"address 0x%02x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hexium_set_standard, %function
hexium_set_standard:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r1
	ldr	r3, .L12
	sub	sp, sp, #28
	mov	r6, r0
	ldr	r0, .L12+4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	DEB_D
	ldr	r2, [r4]
	cmn	r2, #1
	beq	.L6
	mov	r5, #0
	ldr	r9, .L12+8
	ldr	r8, .L12+12
	add	r7, sp, #16
	b	.L5
.L4:
	ldr	r2, [r4, #8]!
	add	r5, r5, #1
	cmn	r2, #1
	beq	.L6
.L5:
	ldr	r1, [r8]
	ldr	ip, [r4, #4]
	mov	r0, r6
	stmib	sp, {r1, r7}
	str	r2, [sp]
	mov	r1, #108
	mov	r2, #0
	ldr	r3, [r9]
	str	ip, [sp, #16]
	bl	i2c_smbus_xfer
	cmp	r0, #0
	beq	.L4
	mov	r1, r5
	ldr	r0, .L12+16
	bl	pr_err
	mvn	r0, #0
	b	.L1
.L6:
	mov	r0, #0
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	.LC0
	.word	I2C_SMBUS_WRITE
	.word	I2C_SMBUS_BYTE_DATA
	.word	.LC1
	.size	hexium_set_standard, .-hexium_set_standard
	.comm	I2C_SMBUS_WRITE,4,4
	.comm	I2C_SMBUS_BYTE_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
