	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ds_init_buffer_field
_acpi_ds_init_buffer_field:             ## @acpi_ds_init_buffer_field
	.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	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movl	%edi, %r13d
	movq	_ds_init_buffer_field@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movq	(%r12), %rax
	movq	_ACPI_TYPE_BUFFER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_5
## %bb.1:
	movq	%r14, %rdi
	callq	_ACPI_GET_DESCRIPTOR_TYPE
	movq	_ACPI_DESC_TYPE_NAMED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	leal	-128(%r13), %edx
	cmpl	$5, %edx
	ja	LBB0_15
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movq	_AML_FIELD_ACCESS_BYTE@GOTPCREL(%rip), %rax
	movl	$1, %r8d
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_4:
	shll	$3, %ecx
	movq	_AML_FIELD_ACCESS_WORD@GOTPCREL(%rip), %rax
	movl	$16, %r8d
	jmp	LBB0_21
LBB0_5:
	movq	%r14, %r15
	movq	%r12, %rdi
	callq	_acpi_ut_get_object_type_name
	jmp	LBB0_7
LBB0_6:
	movl	%r13d, %edi
	callq	_acpi_ps_get_opcode_name
	movq	%r14, %r15
	movq	%r14, %rdi
	callq	_acpi_ut_get_descriptor_name
LBB0_7:
	movl	%eax, %edi
	callq	_ACPI_ERROR
	movq	_AE_AML_OPERAND_TYPE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r14d
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_acpi_ut_remove_reference
	movq	%r12, %rdi
	callq	_acpi_ut_remove_reference
	cmpl	$130, %r13d
	jne	LBB0_11
## %bb.10:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_acpi_ut_remove_reference
LBB0_11:
	movl	%r14d, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	callq	_acpi_ut_remove_reference
	jmp	LBB0_14
LBB0_13:
	movq	_AOPOBJ_DATA_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_14:
	movl	%r14d, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
LBB0_15:
	movq	%r14, %r15
	movl	%r13d, %edi
	callq	_ACPI_ERROR
	movq	_AE_AML_BAD_OPCODE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_16:
	shll	$3, %ecx
	movq	_AML_FIELD_ACCESS_QWORD@GOTPCREL(%rip), %rax
	movl	$64, %r8d
	jmp	LBB0_21
LBB0_17:
	movl	(%r15), %r8d
	testl	%r8d, %r8d
	jne	LBB0_21
## %bb.18:
	movq	%r14, %r15
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
	movq	_AE_AML_OPERAND_VALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_19:
	shll	$3, %ecx
	movq	_AML_FIELD_ACCESS_DWORD@GOTPCREL(%rip), %rax
	movl	$32, %r8d
	jmp	LBB0_21
LBB0_20:
	shll	$3, %ecx
	movl	$8, %r8d
LBB0_21:
	leal	(%r8,%rcx), %edx
	movl	(%r12), %esi
	shll	$3, %esi
	cmpl	%esi, %edx
	jle	LBB0_23
## %bb.22:
	movq	%r14, %r15
	movq	%r14, %rdi
	callq	_acpi_ut_get_node_name
	movq	8(%r12), %rdi
	callq	_acpi_ut_get_node_name
	movl	(%r12), %edi
	shll	$3, %edi
	callq	_ACPI_ERROR
	movq	_AE_AML_BUFFER_LIMIT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_23:
	movq	%r14, %r15
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_acpi_ex_prep_common_field_object
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_9
## %bb.24:
	movq	%rbx, %rax
	movq	%r12, 8(%rbx)
	addl	%r12d, 8(%r12)
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.comm	_ds_init_buffer_field,4,2       ## @ds_init_buffer_field
	.comm	_ACPI_TYPE_BUFFER,8,3           ## @ACPI_TYPE_BUFFER
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_AML_OPERAND_TYPE,4,2        ## @AE_AML_OPERAND_TYPE
	.comm	_ACPI_DESC_TYPE_NAMED,8,3       ## @ACPI_DESC_TYPE_NAMED
	.comm	_AML_FIELD_ACCESS_BYTE,4,2      ## @AML_FIELD_ACCESS_BYTE
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"Attempt to CreateField of length zero"

	.comm	_AE_AML_OPERAND_VALUE,4,2       ## @AE_AML_OPERAND_VALUE
	.comm	_AML_FIELD_ACCESS_WORD,4,2      ## @AML_FIELD_ACCESS_WORD
	.comm	_AML_FIELD_ACCESS_DWORD,4,2     ## @AML_FIELD_ACCESS_DWORD
	.comm	_AML_FIELD_ACCESS_QWORD,4,2     ## @AML_FIELD_ACCESS_QWORD
	.comm	_AE_AML_BAD_OPCODE,4,2          ## @AE_AML_BAD_OPCODE
	.comm	_AE_AML_BUFFER_LIMIT,4,2        ## @AE_AML_BUFFER_LIMIT
	.comm	_AOPOBJ_DATA_VALID,4,2          ## @AOPOBJ_DATA_VALID
	.no_dead_strip	_acpi_ds_init_buffer_field
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ds_init_buffer_field
_acpi_ds_init_buffer_field:             ; @acpi_ds_init_buffer_field
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x21, x4
	mov	x24, x3
	mov	x23, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _ds_init_buffer_field@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_init_buffer_field@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE_PTR
	ldr	x8, [x23]
Lloh3:
	adrp	x9, _ACPI_TYPE_BUFFER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ACPI_TYPE_BUFFER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_ACPI_GET_DESCRIPTOR_TYPE
Lloh6:
	adrp	x8, _ACPI_DESC_TYPE_NAMED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_DESC_TYPE_NAMED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
	sub	w9, w22, #128
	cmp	w9, #5
	b.hi	LBB0_15
; %bb.3:
	ldr	w3, [x24]
Lloh9:
	adrp	x8, _AML_FIELD_ACCESS_BYTE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AML_FIELD_ACCESS_BYTE@GOTPAGEOFF]
	mov	w4, #1
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
	lsl	w3, w3, #3
Lloh13:
	adrp	x8, _AML_FIELD_ACCESS_WORD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AML_FIELD_ACCESS_WORD@GOTPAGEOFF]
	mov	w4, #16
	b	LBB0_21
LBB0_5:
	mov	x0, x23
	bl	_acpi_ut_get_object_type_name
	b	LBB0_7
LBB0_6:
	mov	x0, x22
	bl	_acpi_ps_get_opcode_name
	mov	x0, x19
	bl	_acpi_ut_get_descriptor_name
LBB0_7:
	bl	_ACPI_ERROR
Lloh15:
	adrp	x8, _AE_AML_OPERAND_TYPE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AE_AML_OPERAND_TYPE@GOTPAGEOFF]
LBB0_8:
	ldr	w25, [x8]
LBB0_9:
	mov	x0, x24
	bl	_acpi_ut_remove_reference
	mov	x0, x23
	bl	_acpi_ut_remove_reference
	cmp	w22, #130
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_acpi_ut_remove_reference
LBB0_11:
	mov	x0, x25
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_acpi_ut_remove_reference
	b	LBB0_14
LBB0_13:
Lloh17:
	adrp	x8, _AOPOBJ_DATA_VALID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AOPOBJ_DATA_VALID@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_14:
	mov	x0, x25
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
LBB0_15:
	mov	x0, x22
	bl	_ACPI_ERROR
Lloh20:
	adrp	x8, _AE_AML_BAD_OPCODE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AE_AML_BAD_OPCODE@GOTPAGEOFF]
	b	LBB0_8
LBB0_16:
	lsl	w3, w3, #3
Lloh22:
	adrp	x8, _AML_FIELD_ACCESS_QWORD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AML_FIELD_ACCESS_QWORD@GOTPAGEOFF]
	mov	w4, #64
	b	LBB0_21
LBB0_17:
	ldr	w4, [x21]
	cbz	w4, LBB0_25
; %bb.18:
Lloh24:
	adrp	x8, _AML_FIELD_ACCESS_BYTE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AML_FIELD_ACCESS_BYTE@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
	lsl	w3, w3, #3
Lloh26:
	adrp	x8, _AML_FIELD_ACCESS_DWORD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AML_FIELD_ACCESS_DWORD@GOTPAGEOFF]
	mov	w4, #32
	b	LBB0_21
LBB0_20:
	lsl	w3, w3, #3
Lloh28:
	adrp	x8, _AML_FIELD_ACCESS_BYTE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AML_FIELD_ACCESS_BYTE@GOTPAGEOFF]
	mov	w4, #8
LBB0_21:
	add	w9, w4, w3
	ldr	w10, [x23]
	cmp	w9, w10, lsl #3
	b.le	LBB0_23
; %bb.22:
	mov	x0, x19
	bl	_acpi_ut_get_node_name
	ldr	x0, [x23, #8]
	bl	_acpi_ut_get_node_name
	ldr	w8, [x23]
	lsl	w0, w8, #3
	bl	_ACPI_ERROR
Lloh30:
	adrp	x8, _AE_AML_BUFFER_LIMIT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AE_AML_BUFFER_LIMIT@GOTPAGEOFF]
	b	LBB0_8
LBB0_23:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_acpi_ex_prep_common_field_object
	mov	x25, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_9
; %bb.24:
	str	x23, [x20, #8]
	ldr	w8, [x23, #8]
	add	w8, w8, w23
	str	w8, [x23, #8]
	b	LBB0_9
LBB0_25:
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_ERROR
Lloh34:
	adrp	x8, _AE_AML_OPERAND_VALUE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AE_AML_OPERAND_VALUE@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
                                        ; -- End function
	.comm	_ds_init_buffer_field,4,2       ; @ds_init_buffer_field
	.comm	_ACPI_TYPE_BUFFER,8,3           ; @ACPI_TYPE_BUFFER
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_AML_OPERAND_TYPE,4,2        ; @AE_AML_OPERAND_TYPE
	.comm	_ACPI_DESC_TYPE_NAMED,8,3       ; @ACPI_DESC_TYPE_NAMED
	.comm	_AML_FIELD_ACCESS_BYTE,4,2      ; @AML_FIELD_ACCESS_BYTE
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"Attempt to CreateField of length zero"

	.comm	_AE_AML_OPERAND_VALUE,4,2       ; @AE_AML_OPERAND_VALUE
	.comm	_AML_FIELD_ACCESS_WORD,4,2      ; @AML_FIELD_ACCESS_WORD
	.comm	_AML_FIELD_ACCESS_DWORD,4,2     ; @AML_FIELD_ACCESS_DWORD
	.comm	_AML_FIELD_ACCESS_QWORD,4,2     ; @AML_FIELD_ACCESS_QWORD
	.comm	_AE_AML_BAD_OPCODE,4,2          ; @AE_AML_BAD_OPCODE
	.comm	_AE_AML_BUFFER_LIMIT,4,2        ; @AE_AML_BUFFER_LIMIT
	.comm	_AOPOBJ_DATA_VALID,4,2          ; @AOPOBJ_DATA_VALID
	.no_dead_strip	_acpi_ds_init_buffer_field
.subsections_via_symbols
