	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hix5hd2_write_handle
_hix5hd2_write_handle:                  ## @hix5hd2_write_handle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	jle	LBB0_2
## %bb.1:
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movslq	16(%rbx), %rcx
	leal	1(%rcx), %edx
	movl	%edx, 16(%rbx)
	movl	(%rax,%rcx,4), %edi
	movq	_HIX5I2C_TXR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel_relaxed
	movq	_I2C_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HIX5I2C_COM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_hix5hd2_rw_handle_stop         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HIX5I2C_TXR,8,3                ## @HIX5I2C_TXR
	.comm	_I2C_WRITE,4,2                  ## @I2C_WRITE
	.comm	_HIX5I2C_COM,8,3                ## @HIX5I2C_COM
	.no_dead_strip	_hix5hd2_write_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hix5hd2_write_handle
_hix5hd2_write_handle:                  ; @hix5hd2_write_handle
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldrsw	x9, [x19, #16]
	add	w10, w9, #1
	str	w10, [x19, #16]
	ldr	w0, [x8, x9, lsl #2]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _HIX5I2C_TXR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HIX5I2C_TXR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh3:
	adrp	x8, _I2C_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _HIX5I2C_COM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HIX5I2C_COM@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel_relaxed
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hix5hd2_rw_handle_stop
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HIX5I2C_TXR,8,3                ; @HIX5I2C_TXR
	.comm	_I2C_WRITE,4,2                  ; @I2C_WRITE
	.comm	_HIX5I2C_COM,8,3                ; @HIX5I2C_COM
	.no_dead_strip	_hix5hd2_write_handle
.subsections_via_symbols
