	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hix5hd2_read_handle
_hix5hd2_read_handle:                   ## @hix5hd2_read_handle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movq	_I2C_READ@GOTPCREL(%rip), %rcx
	movq	_I2C_NO_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	jle	LBB0_5
## %bb.3:
	movq	_I2C_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_HIX5I2C_COM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rdi), %rsi
	movl	%eax, %edi
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
LBB0_5:
	popq	%rbp
	jmp	_hix5hd2_rw_handle_stop         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_READ,4,2                   ## @I2C_READ
	.comm	_I2C_NO_ACK,4,2                 ## @I2C_NO_ACK
	.comm	_HIX5I2C_COM,8,3                ## @HIX5I2C_COM
	.no_dead_strip	_hix5hd2_read_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hix5hd2_read_handle
_hix5hd2_read_handle:                   ; @hix5hd2_read_handle
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _I2C_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_READ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_NO_ACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_NO_ACK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_4
LBB0_2:
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _I2C_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I2C_READ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
LBB0_4:
	ldr	x9, [x0, #8]
Lloh9:
	adrp	x10, _HIX5I2C_COM@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HIX5I2C_COM@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	add	x1, x10, x9
	mov	x0, x8
	b	_writel_relaxed
LBB0_5:
	b	_hix5hd2_rw_handle_stop
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_READ,4,2                   ; @I2C_READ
	.comm	_I2C_NO_ACK,4,2                 ; @I2C_NO_ACK
	.comm	_HIX5I2C_COM,8,3                ; @HIX5I2C_COM
	.no_dead_strip	_hix5hd2_read_handle
.subsections_via_symbols
