	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_convert_to_buffer      ## -- Begin function acpi_ex_convert_to_buffer
	.p2align	4, 0x90
_acpi_ex_convert_to_buffer:             ## @acpi_ex_convert_to_buffer
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_ex_convert_to_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_10
## %bb.3:
	movq	%r15, (%r14)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movq	_acpi_gbl_integer_byte_width@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_acpi_ut_create_buffer_object
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	movq	(%rbx), %rdi
	movl	(%r12), %edx
	movq	%r15, %rsi
	callq	_ACPI_MEMCPY
	jmp	LBB0_11
LBB0_7:
	movl	$129, %edi
	callq	_acpi_ut_create_buffer_object
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_9:
	movq	(%rbx), %rdi
	movq	8(%r15), %rsi
	movl	(%r15), %edx
	callq	_ACPI_STRNCPY
	jmp	LBB0_11
LBB0_10:
	movq	_AE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
                                        ## implicit-def: $rbx
LBB0_11:
	movq	_AOPOBJ_DATA_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	movq	%rbx, (%r14)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ex_convert_to_buffer,4,2       ## @ex_convert_to_buffer
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_acpi_gbl_integer_byte_width,4,2 ## @acpi_gbl_integer_byte_width
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_AE_TYPE,4,2                    ## @AE_TYPE
	.comm	_AOPOBJ_DATA_VALID,4,2          ## @AOPOBJ_DATA_VALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_convert_to_buffer      ; -- Begin function acpi_ex_convert_to_buffer
	.p2align	2
_acpi_ex_convert_to_buffer:             ; @acpi_ex_convert_to_buffer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ex_convert_to_buffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ex_convert_to_buffer@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_ACPI_FUNCTION_TRACE_PTR
	ldr	w8, [x20]
Lloh3:
	adrp	x22, _AE_OK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _AE_OK@GOTPAGEOFF]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_10
; %bb.3:
	str	x20, [x19]
	ldr	w0, [x22]
	bl	_return_ACPI_STATUS
LBB0_4:
Lloh5:
	adrp	x23, _acpi_gbl_integer_byte_width@GOTPAGE
Lloh6:
	ldr	x23, [x23, _acpi_gbl_integer_byte_width@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_acpi_ut_create_buffer_object
	mov	x21, x0
	cbnz	x0, LBB0_6
; %bb.5:
Lloh7:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_6:
	ldr	x0, [x21]
	ldr	w2, [x23]
	mov	x1, x20
	bl	_ACPI_MEMCPY
	b	LBB0_11
LBB0_7:
	mov	w0, #129
	bl	_acpi_ut_create_buffer_object
	mov	x21, x0
	cbnz	x0, LBB0_9
; %bb.8:
Lloh10:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_9:
	ldr	x0, [x21]
	ldr	x1, [x20, #8]
	ldr	w2, [x20]
	bl	_ACPI_STRNCPY
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x8, _AE_TYPE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AE_TYPE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
                                        ; implicit-def: $x21
LBB0_11:
Lloh16:
	adrp	x8, _AOPOBJ_DATA_VALID@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AOPOBJ_DATA_VALID@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x21, #4]
	orr	w8, w9, w8
	str	w8, [x21, #4]
	str	x21, [x19]
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ex_convert_to_buffer,4,2       ; @ex_convert_to_buffer
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_acpi_gbl_integer_byte_width,4,2 ; @acpi_gbl_integer_byte_width
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_AE_TYPE,4,2                    ; @AE_TYPE
	.comm	_AOPOBJ_DATA_VALID,4,2          ; @AOPOBJ_DATA_VALID
.subsections_via_symbols
