	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_smbus_cmi_access
_acpi_smbus_cmi_access:                 ## @acpi_smbus_cmi_access
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, %r13d
	movl	%ecx, %r12d
	movl	%esi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_ACPI_ALLOCATE_BUFFER@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -136(%rbp)
	movq	$0, -128(%rbp)
	movl	$0, -120(%rbp)
	testb	%r12b, %r12b
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	%r9d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	leal	-128(%r15), %eax
	cmpl	$4, %eax
	ja	LBB0_17
## %bb.1:
	movq	16(%rbp), %rsi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movq	_ACPI_SMBUS_PRTCL_WORD_DATA@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rcx
	cmpb	%r12b, (%rcx)
	jne	LBB0_20
## %bb.10:
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -72(%rbp)
	movl	$2, -72(%rbp)
	jmp	LBB0_8
LBB0_17:
	leaq	L_.str.3(%rip), %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%r15d, %edx
	callq	_dev_warn
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_48
LBB0_2:
	movq	_ACPI_SMBUS_PRTCL_QUICK@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpb	%r12b, (%rcx)
	jne	LBB0_20
## %bb.3:
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -72(%rbp)
	movl	$0, -72(%rbp)
	leaq	-64(%rbp), %rdx
	movq	%rcx, -64(%rbp)
	xorl	%ecx, %ecx
	xorl	%r13d, %r13d
	jmp	LBB0_19
LBB0_6:
	movq	_ACPI_SMBUS_PRTCL_BYTE_DATA@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rcx
	cmpb	%r12b, (%rcx)
	jne	LBB0_20
## %bb.7:
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -72(%rbp)
	movl	$1, -72(%rbp)
LBB0_8:
	leaq	-64(%rbp), %rdx
	movq	%rcx, -64(%rbp)
	movl	(%rsi), %ecx
	jmp	LBB0_19
LBB0_4:
	movq	_ACPI_SMBUS_PRTCL_BYTE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rcx
	cmpb	%r12b, (%rcx)
	jne	LBB0_5
## %bb.18:
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -72(%rbp)
	movl	$0, -72(%rbp)
	leaq	-64(%rbp), %rdx
	movq	%rcx, -64(%rbp)
	xorl	%ecx, %ecx
	jmp	LBB0_19
LBB0_11:
	movq	_ACPI_SMBUS_PRTCL_BLOCK_DATA@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rcx
	cmpb	%r12b, (%rcx)
	jne	LBB0_20
## %bb.12:
	movq	(%rsi), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	je	LBB0_14
## %bb.13:
	movq	_I2C_SMBUS_BLOCK_MAX@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jg	LBB0_14
## %bb.16:
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, -72(%rbp)
	movl	%edx, -72(%rbp)
	movq	_ACPI_TYPE_BUFFER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	-64(%rbp), %rdx
	movq	%rsi, -64(%rbp)
	addl	$4, %ecx
LBB0_19:
	movl	%ecx, (%rdx)
LBB0_20:
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rcx
	movq	_smbus_methods@GOTPCREL(%rip), %rdx
	leaq	8(%rdx), %rsi
	xorl	%edi, %edi
	cmpb	%r12b, (%rcx)
	setne	%dil
	leal	3(%rdi,%rdi), %ecx
	cmoveq	%rdx, %rsi
	movq	_ACPI_SMBUS_PRTCL_WRITE@GOTPCREL(%rip), %rdx
	cmoveq	_ACPI_SMBUS_PRTCL_READ@GOTPCREL(%rip), %rdx
	movq	(%rsi), %rsi
	movl	%ecx, -152(%rbp)
	orb	(%rdx), %al
	leaq	-96(%rbp), %rcx
	movq	%rcx, -144(%rbp)
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	%rcx, -96(%rbp)
	movzbl	%al, %eax
	movl	%eax, -96(%rbp)
	movq	%rcx, -88(%rbp)
	movl	%ebx, -88(%rbp)
	movq	%rcx, -80(%rbp)
	movl	%r13d, -80(%rbp)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-152(%rbp), %rdx
	leaq	-136(%rbp), %rcx
	callq	_acpi_evaluate_object
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movl	%ebx, %edi
	callq	_ACPI_ERROR
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_15:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_48
LBB0_22:
	movq	-136(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_41
## %bb.23:
	movq	(%rbx), %rax
	movq	_ACPI_TYPE_PACKAGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_41
## %bb.24:
	testq	%rax, %rax
	je	LBB0_41
## %bb.25:
	movq	%r14, %r13
	movq	(%rax), %r14
	cmpq	(%r13), %r14
	jne	LBB0_41
## %bb.26:
	movl	%r14d, %edi
	callq	_ACPI_DEBUG_PRINT
	addl	$-133, %r14d
	cmpl	$3, %r14d
	ja	LBB0_42
## %bb.27:
	leaq	LJTI0_1(%rip), %rax
	movslq	(%rax,%r14,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_38:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_5:
	xorl	%r13d, %r13d
	jmp	LBB0_20
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_28:
	xorl	%r14d, %r14d
	cmpl	$129, %r15d
	je	LBB0_47
## %bb.29:
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	cmpb	%r12b, (%rax)
	je	LBB0_47
## %bb.30:
	movq	(%rbx), %rax
	movq	8(%rax), %rdx
	cmpq	(%r13), %rdx
	jne	LBB0_41
## %bb.31:
	leal	-130(%r15), %ecx
	cmpl	$2, %ecx
	jb	LBB0_34
## %bb.32:
	cmpl	$132, %r15d
	je	LBB0_40
## %bb.33:
	cmpl	$128, %r15d
	jne	LBB0_47
LBB0_34:
	movq	16(%rax), %rax
	cmpq	%rdx, %rax
	jne	LBB0_41
## %bb.35:
	movq	16(%rbp), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_47
LBB0_39:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_36:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_40:
	movq	16(%rax), %rcx
	movq	_ACPI_TYPE_BUFFER@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_41
## %bb.43:
	testl	%edx, %edx
	je	LBB0_45
## %bb.44:
	movq	_I2C_SMBUS_BLOCK_MAX@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	jl	LBB0_45
## %bb.46:
	movq	16(%rbp), %r13
	movq	(%r13), %rcx
	movl	%edx, (%rcx)
	movl	(%r13), %edi
	addl	$4, %edi
	movl	16(%rax), %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	jmp	LBB0_47
LBB0_41:
	leaq	L_.str.5(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
LBB0_42:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_37:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_47:
	movq	-136(%rbp), %rdi
	callq	_kfree
	leaq	L_.str.7(%rip), %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_48:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_50
## %bb.49:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	movq	_EPROTO@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_50:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_11
.set L0_1_set_38, LBB0_38-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_39, LBB0_39-LJTI0_1
.set L0_1_set_36, LBB0_36-LJTI0_1
LJTI0_1:
	.long	L0_1_set_38
	.long	L0_1_set_28
	.long	L0_1_set_39
	.long	L0_1_set_36
	.end_data_region
                                        ## -- End function
	.comm	_ACPI_ALLOCATE_BUFFER,4,2       ## @ACPI_ALLOCATE_BUFFER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"access size: %d %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"READ"

L_.str.2:                               ## @.str.2
	.asciz	"WRITE"

	.comm	_ACPI_SMBUS_PRTCL_QUICK,1,0     ## @ACPI_SMBUS_PRTCL_QUICK
	.comm	_I2C_SMBUS_WRITE,1,0            ## @I2C_SMBUS_WRITE
	.comm	_ACPI_TYPE_INTEGER,8,3          ## @ACPI_TYPE_INTEGER
	.comm	_ACPI_SMBUS_PRTCL_BYTE,1,0      ## @ACPI_SMBUS_PRTCL_BYTE
	.comm	_ACPI_SMBUS_PRTCL_BYTE_DATA,1,0 ## @ACPI_SMBUS_PRTCL_BYTE_DATA
	.comm	_ACPI_SMBUS_PRTCL_WORD_DATA,1,0 ## @ACPI_SMBUS_PRTCL_WORD_DATA
	.comm	_ACPI_SMBUS_PRTCL_BLOCK_DATA,1,0 ## @ACPI_SMBUS_PRTCL_BLOCK_DATA
	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ## @I2C_SMBUS_BLOCK_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ACPI_TYPE_BUFFER,8,3           ## @ACPI_TYPE_BUFFER
L_.str.3:                               ## @.str.3
	.asciz	"Unsupported transaction %d\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_I2C_SMBUS_READ,1,0             ## @I2C_SMBUS_READ
	.comm	_ACPI_SMBUS_PRTCL_READ,1,0      ## @ACPI_SMBUS_PRTCL_READ
	.comm	_smbus_methods,16,3             ## @smbus_methods
	.comm	_ACPI_SMBUS_PRTCL_WRITE,1,0     ## @ACPI_SMBUS_PRTCL_WRITE
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ACPI_TYPE_PACKAGE,8,3          ## @ACPI_TYPE_PACKAGE
L_.str.5:                               ## @.str.5
	.asciz	"Invalid argument type"

	.comm	_ACPI_DB_INFO,4,2               ## @ACPI_DB_INFO
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EPROTO,4,2                     ## @EPROTO
L_.str.7:                               ## @.str.7
	.asciz	"Transaction status: %i\n"

	.no_dead_strip	_acpi_smbus_cmi_access
.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_access
_acpi_smbus_cmi_access:                 ; @acpi_smbus_cmi_access
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x6
	mov	x21, x5
	mov	x23, x4
	mov	x24, x3
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x26, [x0, #8]
Lloh3:
	adrp	x8, _ACPI_ALLOCATE_BUFFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_ALLOCATE_BUFFER@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	stp	x8, xzr, [sp, #8]
	str	wzr, [sp, #24]
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w3, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x5
	bl	_dev_dbg
	sub	w8, w21, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.1:
	and	w25, w24, #0xff
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
Lloh14:
	adrp	x24, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh15:
	ldr	x24, [x24, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
	br	x10
LBB0_2:
Lloh16:
	adrp	x8, _ACPI_SMBUS_PRTCL_WORD_DATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ACPI_SMBUS_PRTCL_WORD_DATA@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh18:
	adrp	x9, _I2C_SMBUS_WRITE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w25
	b.ne	LBB0_18
; %bb.3:
	ldr	x9, [x24]
	mov	w10, #2
	b	LBB0_9
LBB0_4:
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_warn
Lloh22:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_20
LBB0_5:
Lloh24:
	adrp	x8, _ACPI_SMBUS_PRTCL_QUICK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ACPI_SMBUS_PRTCL_QUICK@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh26:
	adrp	x9, _I2C_SMBUS_WRITE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w25
	b.ne	LBB0_17
; %bb.6:
	mov	w9, #0
	mov	w23, #0
	b	LBB0_12
LBB0_7:
Lloh28:
	adrp	x8, _ACPI_SMBUS_PRTCL_BYTE_DATA@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ACPI_SMBUS_PRTCL_BYTE_DATA@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh30:
	adrp	x9, _I2C_SMBUS_WRITE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w25
	b.ne	LBB0_18
; %bb.8:
	ldr	x9, [x24]
	mov	w10, #1
LBB0_9:
	stp	x9, x9, [sp, #72]
	str	w10, [sp, #72]
	add	x10, sp, #48
	add	x10, x10, #32
	ldr	w9, [x20]
	b	LBB0_13
LBB0_10:
Lloh32:
	adrp	x8, _ACPI_SMBUS_PRTCL_BYTE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ACPI_SMBUS_PRTCL_BYTE@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh34:
	adrp	x9, _I2C_SMBUS_WRITE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w25
	b.ne	LBB0_17
; %bb.11:
	mov	w9, #0
LBB0_12:
	ldr	x11, [x24]
	stp	x11, x11, [sp, #72]
	str	wzr, [sp, #72]
	add	x10, sp, #48
	add	x10, x10, #32
LBB0_13:
	str	w9, [x10]
	b	LBB0_18
LBB0_14:
Lloh36:
	adrp	x8, _ACPI_SMBUS_PRTCL_BLOCK_DATA@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ACPI_SMBUS_PRTCL_BLOCK_DATA@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh38:
	adrp	x9, _I2C_SMBUS_WRITE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w25
	b.ne	LBB0_18
; %bb.15:
	ldr	x9, [x20]
	ldr	w10, [x9]
Lloh40:
	adrp	x11, _I2C_SMBUS_BLOCK_MAX@GOTPAGE
Lloh41:
	ldr	x11, [x11, _I2C_SMBUS_BLOCK_MAX@GOTPAGEOFF]
Lloh42:
	ldr	w11, [x11]
	cmp	w10, #0
	ccmp	w10, w11, #0, ne
	b.le	LBB0_28
; %bb.16:
Lloh43:
	adrp	x8, _EINVAL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
	mov	w23, #0
LBB0_18:
Lloh45:
	adrp	x9, _I2C_SMBUS_READ@GOTPAGE
Lloh46:
	ldr	x9, [x9, _I2C_SMBUS_READ@GOTPAGEOFF]
	ldrb	w9, [x9]
	mov	w10, #5
	mov	w11, #3
	cmp	w9, w25
	csel	w9, w11, w10, eq
Lloh47:
	adrp	x10, _smbus_methods@GOTPAGE
Lloh48:
	ldr	x10, [x10, _smbus_methods@GOTPAGEOFF]
	add	x11, x10, #8
	csel	x10, x10, x11, eq
	ldr	x1, [x10]
Lloh49:
	adrp	x10, _ACPI_SMBUS_PRTCL_READ@GOTPAGE
Lloh50:
	ldr	x10, [x10, _ACPI_SMBUS_PRTCL_READ@GOTPAGEOFF]
Lloh51:
	adrp	x11, _ACPI_SMBUS_PRTCL_WRITE@GOTPAGE
Lloh52:
	ldr	x11, [x11, _ACPI_SMBUS_PRTCL_WRITE@GOTPAGEOFF]
	csel	x10, x10, x11, eq
	ldrb	w10, [x10]
	str	w9, [sp, #32]
	orr	w8, w10, w8
	add	x9, sp, #48
	str	x9, [sp, #40]
	ldr	x9, [x24]
	stp	x9, x9, [sp, #48]
	str	w8, [sp, #48]
	str	w22, [sp, #56]
	str	x9, [sp, #64]
	str	w23, [sp, #64]
	ldr	w0, [x26]
	add	x2, sp, #32
	add	x3, sp, #8
	bl	_acpi_evaluate_object
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_21
; %bb.19:
	mov	x0, x22
	bl	_ACPI_ERROR
Lloh53:
	adrp	x8, _EIO@GOTPAGE
Lloh54:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_48
LBB0_21:
	ldr	x23, [sp, #8]
	cbz	x23, LBB0_44
; %bb.22:
	ldr	x8, [x23]
Lloh55:
	adrp	x9, _ACPI_TYPE_PACKAGE@GOTPAGE
Lloh56:
	ldr	x9, [x9, _ACPI_TYPE_PACKAGE@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_44
; %bb.23:
	cbz	x8, LBB0_44
; %bb.24:
	ldr	x22, [x8]
	ldr	x8, [x24]
	cmp	x22, x8
	b.ne	LBB0_44
; %bb.25:
	mov	x0, x22
	bl	_ACPI_DEBUG_PRINT
	sub	w8, w22, #133
	cmp	w8, #3
	b.hi	LBB0_45
; %bb.26:
Lloh58:
	adrp	x9, lJTI0_1@PAGE
Lloh59:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_27
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_27:
Lloh60:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_46
LBB0_28:
	ldr	x11, [x24]
Lloh62:
	adrp	x12, _ACPI_TYPE_BUFFER@GOTPAGE
Lloh63:
	ldr	x12, [x12, _ACPI_TYPE_BUFFER@GOTPAGEOFF]
Lloh64:
	ldr	x12, [x12]
	stp	x11, x12, [sp, #72]
	str	w10, [sp, #72]
	add	x10, sp, #48
	add	x10, x10, #32
	add	w9, w9, #4
	b	LBB0_13
LBB0_29:
	mov	w22, #0
	cmp	w21, #129
	b.eq	LBB0_47
; %bb.30:
Lloh65:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w25
	b.eq	LBB0_47
; %bb.31:
	ldr	x8, [x23]
	ldr	x2, [x8, #8]
	ldr	x9, [x24]
	cmp	x2, x9
	b.ne	LBB0_44
; %bb.32:
	sub	w9, w21, #130
	cmp	w9, #2
	b.lo	LBB0_35
; %bb.33:
	cmp	w21, #132
	b.eq	LBB0_39
; %bb.34:
	cmp	w21, #128
	b.ne	LBB0_43
LBB0_35:
	ldr	x8, [x8, #16]
	cmp	x8, x2
	b.ne	LBB0_44
; %bb.36:
	mov	w22, #0
	str	w8, [x20]
	b	LBB0_47
LBB0_37:
Lloh67:
	adrp	x8, _ENXIO@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_46
LBB0_38:
Lloh69:
	adrp	x8, _EBUSY@GOTPAGE
Lloh70:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_46
LBB0_39:
	ldr	x9, [x8, #16]
Lloh71:
	adrp	x10, _ACPI_TYPE_BUFFER@GOTPAGE
Lloh72:
	ldr	x10, [x10, _ACPI_TYPE_BUFFER@GOTPAGEOFF]
Lloh73:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_44
; %bb.40:
	cbz	w2, LBB0_50
; %bb.41:
Lloh74:
	adrp	x9, _I2C_SMBUS_BLOCK_MAX@GOTPAGE
Lloh75:
	ldr	x9, [x9, _I2C_SMBUS_BLOCK_MAX@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	cmp	w9, w2
	b.lt	LBB0_50
; %bb.42:
	ldr	x9, [x20]
	str	w2, [x9]
	ldr	w9, [x20]
	add	w0, w9, #4
	ldr	w1, [x8, #16]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
LBB0_43:
	mov	w22, #0
	b	LBB0_47
LBB0_44:
Lloh77:
	adrp	x0, l_.str.5@PAGE
Lloh78:
	add	x0, x0, l_.str.5@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_ERROR
LBB0_45:
Lloh79:
	adrp	x8, _EIO@GOTPAGE
Lloh80:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_46:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_47:
	ldr	x0, [sp, #8]
	bl	_kfree
Lloh81:
	adrp	x1, l_.str.7@PAGE
Lloh82:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_dbg
LBB0_48:
	ldur	x8, [x29, #-72]
Lloh83:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh84:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh85:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_51
; %bb.49:
	mov	x0, x22
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_50:
Lloh86:
	adrp	x8, _EPROTO@GOTPAGE
Lloh87:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
	b	LBB0_20
LBB0_51:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh86, Lloh87
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_27-LBB0_27)>>2
	.byte	(LBB0_29-LBB0_27)>>2
	.byte	(LBB0_37-LBB0_27)>>2
	.byte	(LBB0_38-LBB0_27)>>2
                                        ; -- End function
	.comm	_ACPI_ALLOCATE_BUFFER,4,2       ; @ACPI_ALLOCATE_BUFFER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"access size: %d %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"READ"

l_.str.2:                               ; @.str.2
	.asciz	"WRITE"

	.comm	_ACPI_SMBUS_PRTCL_QUICK,1,0     ; @ACPI_SMBUS_PRTCL_QUICK
	.comm	_I2C_SMBUS_WRITE,1,0            ; @I2C_SMBUS_WRITE
	.comm	_ACPI_TYPE_INTEGER,8,3          ; @ACPI_TYPE_INTEGER
	.comm	_ACPI_SMBUS_PRTCL_BYTE,1,0      ; @ACPI_SMBUS_PRTCL_BYTE
	.comm	_ACPI_SMBUS_PRTCL_BYTE_DATA,1,0 ; @ACPI_SMBUS_PRTCL_BYTE_DATA
	.comm	_ACPI_SMBUS_PRTCL_WORD_DATA,1,0 ; @ACPI_SMBUS_PRTCL_WORD_DATA
	.comm	_ACPI_SMBUS_PRTCL_BLOCK_DATA,1,0 ; @ACPI_SMBUS_PRTCL_BLOCK_DATA
	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ; @I2C_SMBUS_BLOCK_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ACPI_TYPE_BUFFER,8,3           ; @ACPI_TYPE_BUFFER
l_.str.3:                               ; @.str.3
	.asciz	"Unsupported transaction %d\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_I2C_SMBUS_READ,1,0             ; @I2C_SMBUS_READ
	.comm	_ACPI_SMBUS_PRTCL_READ,1,0      ; @ACPI_SMBUS_PRTCL_READ
	.comm	_smbus_methods,16,3             ; @smbus_methods
	.comm	_ACPI_SMBUS_PRTCL_WRITE,1,0     ; @ACPI_SMBUS_PRTCL_WRITE
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ACPI_TYPE_PACKAGE,8,3          ; @ACPI_TYPE_PACKAGE
l_.str.5:                               ; @.str.5
	.asciz	"Invalid argument type"

	.comm	_ACPI_DB_INFO,4,2               ; @ACPI_DB_INFO
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EPROTO,4,2                     ; @EPROTO
l_.str.7:                               ; @.str.7
	.asciz	"Transaction status: %i\n"

	.no_dead_strip	_acpi_smbus_cmi_access
.subsections_via_symbols
