	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_smbus_cmi_func
_acpi_smbus_cmi_func:                   ## @acpi_smbus_cmi_func
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %r9d
	movl	4(%rax), %esi
	movq	_I2C_FUNC_SMBUS_QUICK@GOTPCREL(%rip), %r8
	xorl	%edx, %edx
	movl	$0, %eax
	testl	%r9d, %r9d
	je	LBB0_2
## %bb.1:
	movq	_I2C_FUNC_SMBUS_READ_BYTE@GOTPCREL(%rip), %rdi
	movq	_I2C_FUNC_SMBUS_READ_BYTE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rdi), %eax
	movq	_I2C_FUNC_SMBUS_READ_WORD_DATA@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_I2C_FUNC_SMBUS_READ_BLOCK_DATA@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
LBB0_2:
	movl	(%r8), %edi
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	movq	_I2C_FUNC_SMBUS_WRITE_BYTE@GOTPCREL(%rip), %r8
	movq	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%r8), %edx
	movq	_I2C_FUNC_SMBUS_WRITE_WORD_DATA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_I2C_FUNC_SMBUS_WRITE_BLOCK_DATA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
LBB0_4:
	xorl	%ecx, %ecx
	orl	%r9d, %esi
	cmovel	%ecx, %edi
	orl	%edi, %eax
	orl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_QUICK,4,2       ## @I2C_FUNC_SMBUS_QUICK
	.comm	_I2C_FUNC_SMBUS_READ_BYTE,4,2   ## @I2C_FUNC_SMBUS_READ_BYTE
	.comm	_I2C_FUNC_SMBUS_READ_BYTE_DATA,4,2 ## @I2C_FUNC_SMBUS_READ_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_READ_WORD_DATA,4,2 ## @I2C_FUNC_SMBUS_READ_WORD_DATA
	.comm	_I2C_FUNC_SMBUS_READ_BLOCK_DATA,4,2 ## @I2C_FUNC_SMBUS_READ_BLOCK_DATA
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE,4,2  ## @I2C_FUNC_SMBUS_WRITE_BYTE
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA,4,2 ## @I2C_FUNC_SMBUS_WRITE_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_WRITE_WORD_DATA,4,2 ## @I2C_FUNC_SMBUS_WRITE_WORD_DATA
	.comm	_I2C_FUNC_SMBUS_WRITE_BLOCK_DATA,4,2 ## @I2C_FUNC_SMBUS_WRITE_BLOCK_DATA
	.no_dead_strip	_acpi_smbus_cmi_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_smbus_cmi_func
_acpi_smbus_cmi_func:                   ; @acpi_smbus_cmi_func
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldp	w8, w9, [x9]
Lloh0:
	adrp	x11, _I2C_FUNC_SMBUS_QUICK@GOTPAGE
Lloh1:
	ldr	x11, [x11, _I2C_FUNC_SMBUS_QUICK@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x10, _I2C_FUNC_SMBUS_READ_BYTE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _I2C_FUNC_SMBUS_READ_BYTE@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	adrp	x12, _I2C_FUNC_SMBUS_READ_BYTE_DATA@GOTPAGE
Lloh6:
	ldr	x12, [x12, _I2C_FUNC_SMBUS_READ_BYTE_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w12, [x12]
	orr	w10, w12, w10
Lloh8:
	adrp	x12, _I2C_FUNC_SMBUS_READ_WORD_DATA@GOTPAGE
Lloh9:
	ldr	x12, [x12, _I2C_FUNC_SMBUS_READ_WORD_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x12]
	orr	w10, w10, w12
Lloh11:
	adrp	x12, _I2C_FUNC_SMBUS_READ_BLOCK_DATA@GOTPAGE
Lloh12:
	ldr	x12, [x12, _I2C_FUNC_SMBUS_READ_BLOCK_DATA@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
	orr	w10, w10, w12
	ldr	w11, [x11]
	cbz	w9, LBB0_4
LBB0_2:
Lloh14:
	adrp	x12, _I2C_FUNC_SMBUS_WRITE_BYTE@GOTPAGE
Lloh15:
	ldr	x12, [x12, _I2C_FUNC_SMBUS_WRITE_BYTE@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
Lloh17:
	adrp	x13, _I2C_FUNC_SMBUS_WRITE_BYTE_DATA@GOTPAGE
Lloh18:
	ldr	x13, [x13, _I2C_FUNC_SMBUS_WRITE_BYTE_DATA@GOTPAGEOFF]
Lloh19:
	ldr	w13, [x13]
	orr	w12, w13, w12
Lloh20:
	adrp	x13, _I2C_FUNC_SMBUS_WRITE_WORD_DATA@GOTPAGE
Lloh21:
	ldr	x13, [x13, _I2C_FUNC_SMBUS_WRITE_WORD_DATA@GOTPAGEOFF]
Lloh22:
	ldr	w13, [x13]
	orr	w12, w12, w13
Lloh23:
	adrp	x13, _I2C_FUNC_SMBUS_WRITE_BLOCK_DATA@GOTPAGE
Lloh24:
	ldr	x13, [x13, _I2C_FUNC_SMBUS_WRITE_BLOCK_DATA@GOTPAGEOFF]
Lloh25:
	ldr	w13, [x13]
	orr	w12, w12, w13
	b	LBB0_5
LBB0_3:
	mov	w10, #0
	ldr	w11, [x11]
	cbnz	w9, LBB0_2
LBB0_4:
	mov	w12, #0
LBB0_5:
	orr	w8, w9, w8
	cmp	w8, #0
	csel	w8, wzr, w11, eq
	orr	w8, w10, w8
	orr	w0, w8, w12
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_QUICK,4,2       ; @I2C_FUNC_SMBUS_QUICK
	.comm	_I2C_FUNC_SMBUS_READ_BYTE,4,2   ; @I2C_FUNC_SMBUS_READ_BYTE
	.comm	_I2C_FUNC_SMBUS_READ_BYTE_DATA,4,2 ; @I2C_FUNC_SMBUS_READ_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_READ_WORD_DATA,4,2 ; @I2C_FUNC_SMBUS_READ_WORD_DATA
	.comm	_I2C_FUNC_SMBUS_READ_BLOCK_DATA,4,2 ; @I2C_FUNC_SMBUS_READ_BLOCK_DATA
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE,4,2  ; @I2C_FUNC_SMBUS_WRITE_BYTE
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA,4,2 ; @I2C_FUNC_SMBUS_WRITE_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_WRITE_WORD_DATA,4,2 ; @I2C_FUNC_SMBUS_WRITE_WORD_DATA
	.comm	_I2C_FUNC_SMBUS_WRITE_BLOCK_DATA,4,2 ; @I2C_FUNC_SMBUS_WRITE_BLOCK_DATA
	.no_dead_strip	_acpi_smbus_cmi_func
.subsections_via_symbols
