	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ex_field_datum_io
_acpi_ex_field_datum_io:                ## @acpi_ex_field_datum_io
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, -56(%rbp)
	movq	_ex_field_datum_io@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE_U32
	movq	_ACPI_READ@GOTPCREL(%rip), %r13
	cmpq	%r15, (%r13)
	jne	LBB0_4
## %bb.1:
	testq	%r14, %r14
	jne	LBB0_3
## %bb.2:
	movq	$0, -64(%rbp)
	leaq	-64(%rbp), %r14
LBB0_3:
	movq	$0, (%r14)
LBB0_4:
	movl	(%r12), %edi
	leal	-128(%rdi), %eax
	cmpl	$3, %eax
	ja	LBB0_25
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_18:
	movl	12(%r12), %edi
	movq	(%r12), %rsi
	callq	_acpi_ex_register_overflow
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movq	_AE_AML_REGISTER_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_20:
	addq	(%r12), %rbx
	movq	%rbx, -56(%rbp)
	movl	%ebx, %edi
	callq	_ACPI_DEBUG_PRINT
	movl	12(%r12), %edi
	leaq	-56(%rbp), %rsi
	movl	$8, %edx
	callq	_acpi_ex_insert_into_field
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_22:
	cmpq	%r15, (%r13)
	jne	LBB0_24
## %bb.23:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	movl	8(%r12), %edi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_acpi_ex_extract_from_field
	movl	%eax, %ebx
	jmp	LBB0_27
LBB0_25:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
	movq	_AE_AML_INTERNAL@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_13:
	movl	8(%r12), %edi
	movq	(%r12), %rsi
	callq	_acpi_ex_register_overflow
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movq	_AE_AML_REGISTER_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_15:
	movl	8(%r12), %edi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_acpi_ex_insert_into_field
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movl	%r13d, %edi
	callq	_return_ACPI_STATUS
LBB0_17:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_acpi_ex_access_region
	movl	%eax, %ebx
	jmp	LBB0_27
LBB0_6:
	movq	_AOPOBJ_DATA_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	jne	LBB0_9
## %bb.7:
	movq	%r12, %rdi
	callq	_acpi_ds_get_buffer_field_arguments
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_return_ACPI_STATUS
LBB0_9:
	cmpq	%r15, (%r13)
	jne	LBB0_11
## %bb.10:
	movq	(%r12), %rdx
	movq	8(%r12), %rax
	movq	(%rax), %rsi
	addq	%rdx, %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	jmp	LBB0_12
LBB0_24:
	movq	(%r14), %rdi
	callq	_ACPI_FORMAT_UINT64
	movl	%eax, %edi
	callq	_ACPI_DEBUG_PRINT
	movl	8(%r12), %edi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_acpi_ex_insert_into_field
	movl	%eax, %ebx
	jmp	LBB0_27
LBB0_11:
	movq	(%r12), %rdx
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	addq	%rdx, %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
LBB0_12:
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ACPI_MEMCPY
	movq	_AE_OK@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %ebx
LBB0_27:
	movl	%ebx, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	(%r14), %rdi
	callq	_ACPI_FORMAT_UINT64
	movl	(%r12), %edi
	callq	_ACPI_DEBUG_PRINT
LBB0_29:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_13
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_ex_field_datum_io,4,2          ## @ex_field_datum_io
	.comm	_ACPI_READ,8,3                  ## @ACPI_READ
	.comm	_AOPOBJ_DATA_VALID,4,2          ## @AOPOBJ_DATA_VALID
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_AE_AML_REGISTER_LIMIT,4,2      ## @AE_AML_REGISTER_LIMIT
	.comm	_ACPI_DB_BFIELD,4,2             ## @ACPI_DB_BFIELD
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Read from Data Register\n"

	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_AML_INTERNAL,4,2            ## @AE_AML_INTERNAL
	.no_dead_strip	_acpi_ex_field_datum_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ex_field_datum_io
_acpi_ex_field_datum_io:                ; @acpi_ex_field_datum_io
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	str	x1, [sp, #8]
Lloh0:
	adrp	x8, _ex_field_datum_io@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ex_field_datum_io@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE_U32
Lloh3:
	adrp	x24, _ACPI_READ@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ACPI_READ@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.1:
	cbnz	x20, LBB0_3
; %bb.2:
	str	xzr, [sp]
	mov	x20, sp
LBB0_3:
	str	xzr, [x20]
LBB0_4:
	ldr	w0, [x19]
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_12
; %bb.5:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	ldr	w0, [x19, #12]
	ldr	x1, [x19]
	bl	_acpi_ex_register_overflow
	cbz	w0, LBB0_8
; %bb.7:
Lloh7:
	adrp	x8, _AE_AML_REGISTER_LIMIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AE_AML_REGISTER_LIMIT@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_8:
	ldr	x8, [x19]
	add	x0, x8, x22
	str	x0, [sp, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT
	ldr	w0, [x19, #12]
	add	x1, sp, #8
	mov	w2, #8
	bl	_acpi_ex_insert_into_field
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbz	w0, LBB0_10
; %bb.9:
	mov	x0, x22
	bl	_return_ACPI_STATUS
LBB0_10:
	ldr	x8, [x24]
	cmp	x8, x21
	b.ne	LBB0_23
; %bb.11:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT
	ldr	w0, [x19, #8]
	mov	x1, x20
	mov	w2, #8
	bl	_acpi_ex_extract_from_field
	mov	x21, x0
	b	LBB0_27
LBB0_12:
	bl	_ACPI_ERROR
Lloh12:
	adrp	x8, _AE_AML_INTERNAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AE_AML_INTERNAL@GOTPAGEOFF]
	b	LBB0_26
LBB0_13:
	ldr	w0, [x19, #8]
	ldr	x1, [x19]
	bl	_acpi_ex_register_overflow
	cbz	w0, LBB0_15
; %bb.14:
Lloh14:
	adrp	x8, _AE_AML_REGISTER_LIMIT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AE_AML_REGISTER_LIMIT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_15:
	ldr	w0, [x19, #8]
	mov	x1, x19
	mov	w2, #8
	bl	_acpi_ex_insert_into_field
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbz	w0, LBB0_17
; %bb.16:
	mov	x0, x23
	bl	_return_ACPI_STATUS
LBB0_17:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_acpi_ex_access_region
	mov	x21, x0
	b	LBB0_27
LBB0_18:
	ldr	w8, [x19, #4]
Lloh17:
	adrp	x9, _AOPOBJ_DATA_VALID@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AOPOBJ_DATA_VALID@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_21
; %bb.19:
	mov	x0, x19
	bl	_acpi_ds_get_buffer_field_arguments
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbz	w0, LBB0_21
; %bb.20:
	mov	x0, x23
	bl	_return_ACPI_STATUS
LBB0_21:
	ldr	x8, [x24]
	cmp	x8, x21
	b.ne	LBB0_24
; %bb.22:
	ldp	x2, x8, [x19]
	ldr	x8, [x8]
	add	x8, x2, x8
	add	x1, x8, x22
	mov	x0, x20
	b	LBB0_25
LBB0_23:
	ldr	x0, [x20]
	bl	_ACPI_FORMAT_UINT64
	bl	_ACPI_DEBUG_PRINT
	ldr	w0, [x19, #8]
	mov	x1, x20
	mov	w2, #8
	bl	_acpi_ex_insert_into_field
	mov	x21, x0
	b	LBB0_27
LBB0_24:
	ldp	x2, x8, [x19]
	ldr	x8, [x8]
	add	x8, x2, x8
	add	x0, x8, x22
	mov	x1, x20
LBB0_25:
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ACPI_MEMCPY
Lloh20:
	adrp	x8, _AE_OK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
LBB0_26:
	ldr	w21, [x8]
LBB0_27:
	mov	x0, x21
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_29
; %bb.28:
	ldr	x0, [x20]
	bl	_ACPI_FORMAT_UINT64
	ldr	w0, [x19]
	bl	_ACPI_DEBUG_PRINT
LBB0_29:
	mov	x0, x21
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_17-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
                                        ; -- End function
	.comm	_ex_field_datum_io,4,2          ; @ex_field_datum_io
	.comm	_ACPI_READ,8,3                  ; @ACPI_READ
	.comm	_AOPOBJ_DATA_VALID,4,2          ; @AOPOBJ_DATA_VALID
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_AE_AML_REGISTER_LIMIT,4,2      ; @AE_AML_REGISTER_LIMIT
	.comm	_ACPI_DB_BFIELD,4,2             ; @ACPI_DB_BFIELD
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Read from Data Register\n"

	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_AML_INTERNAL,4,2            ; @AE_AML_INTERNAL
	.no_dead_strip	_acpi_ex_field_datum_io
.subsections_via_symbols
