	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kxtj9_update_odr
_kxtj9_update_odr:                      ## @kxtj9_update_odr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_kxtj9_odr_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movl	4(%rdi,%rbx,8), %eax
	movl	%eax, 8(%r14)
	cmpl	%r12d, (%rdi,%rbx,8)
	ja	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movl	4(%r14), %edi
	movq	_CTRL_REG1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	xorl	%edx, %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	movq	_DATA_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edi
	movl	8(%r14), %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movl	(%r14), %edx
	movl	4(%r14), %edi
	movl	(%rbx), %esi
	callq	_i2c_smbus_write_byte_data
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kxtj9_odr_table,8,3            ## @kxtj9_odr_table
	.comm	_CTRL_REG1,4,2                  ## @CTRL_REG1
	.comm	_DATA_CTRL,4,2                  ## @DATA_CTRL
	.no_dead_strip	_kxtj9_update_odr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kxtj9_update_odr
_kxtj9_update_odr:                      ; @kxtj9_update_odr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _kxtj9_odr_table@GOTPAGE
Lloh1:
	ldr	x21, [x21, _kxtj9_odr_table@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	add	x8, x0, x22
	ldp	w8, w9, [x8]
	str	w9, [x19, #8]
	cmp	w8, w20
	b.hi	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	add	x22, x22, #8
	cmp	x23, w0, sxtw
	b.lt	LBB0_2
LBB0_4:
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x20, _CTRL_REG1@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CTRL_REG1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w2, #0
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_7
; %bb.5:
Lloh4:
	adrp	x8, _DATA_CTRL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DATA_CTRL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldp	w0, w2, [x19, #4]
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_7
; %bb.6:
	ldr	w1, [x20]
	ldp	w2, w0, [x19]
	bl	_i2c_smbus_write_byte_data
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_kxtj9_odr_table,8,3            ; @kxtj9_odr_table
	.comm	_CTRL_REG1,4,2                  ; @CTRL_REG1
	.comm	_DATA_CTRL,4,2                  ; @DATA_CTRL
	.no_dead_strip	_kxtj9_update_odr
.subsections_via_symbols
