	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_store_buffer_to_buffer ## -- Begin function acpi_ex_store_buffer_to_buffer
	.p2align	4, 0x90
_acpi_ex_store_buffer_to_buffer:        ## @acpi_ex_store_buffer_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, %rbx
	movq	%rdi, %r14
	movq	_ex_store_buffer_to_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	cmpq	%rbx, %r14
	jne	LBB0_2
## %bb.1:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	_u8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%r14), %esi
	callq	_ACPI_CAST_PTR
	movq	_buffer@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movq	(%r14), %r15
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	_AOPOBJ_STATIC_POINTER@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_7
LBB0_4:
	movq	%r15, %rdi
	callq	_ACPI_ALLOCATE
	movl	%eax, 12(%rbx)
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	movq	%r15, (%rbx)
	movq	%r15, %rdx
LBB0_8:
	movl	12(%rbx), %edi
	xorl	%esi, %esi
	callq	_ACPI_MEMSET
	movl	12(%rbx), %edi
	movl	(%r12), %esi
	movq	%r15, %rdx
	callq	_ACPI_MEMCPY
LBB0_10:
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	_AOPOBJ_STATIC_POINTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
LBB0_7:
	cmpq	%rdx, %r15
	jle	LBB0_8
## %bb.9:
	movl	12(%rbx), %edi
	movl	%eax, %esi
	callq	_ACPI_MEMCPY
	movl	(%rbx), %edi
	callq	_ACPI_DEBUG_PRINT
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_u8,4,2                         ## @u8
	.comm	_buffer,4,2                     ## @buffer
	.comm	_ex_store_buffer_to_buffer,4,2  ## @ex_store_buffer_to_buffer
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_AOPOBJ_STATIC_POINTER,4,2      ## @AOPOBJ_STATIC_POINTER
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_DB_INFO,4,2               ## @ACPI_DB_INFO
	.comm	_ACPI_TYPE_STRING,8,3           ## @ACPI_TYPE_STRING
	.comm	_original_src_type,8,3          ## @original_src_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_store_buffer_to_buffer ; -- Begin function acpi_ex_store_buffer_to_buffer
	.p2align	2
_acpi_ex_store_buffer_to_buffer:        ; @acpi_ex_store_buffer_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_store_buffer_to_buffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ex_store_buffer_to_buffer@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_ACPI_FUNCTION_TRACE_PTR
Lloh3:
	adrp	x22, _AE_OK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _AE_OK@GOTPAGEOFF]
	cmp	x20, x19
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x22]
	bl	_return_ACPI_STATUS
LBB0_2:
Lloh5:
	adrp	x8, _u8@GOTPAGE
Lloh6:
	ldr	x8, [x8, _u8@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x20, #12]
	bl	_ACPI_CAST_PTR
Lloh8:
	adrp	x24, _buffer@GOTPAGE
Lloh9:
	ldr	x24, [x24, _buffer@GOTPAGEOFF]
	str	w0, [x24]
	ldr	x21, [x20]
	ldr	x2, [x19]
Lloh10:
	adrp	x23, _AOPOBJ_STATIC_POINTER@GOTPAGE
Lloh11:
	ldr	x23, [x23, _AOPOBJ_STATIC_POINTER@GOTPAGEOFF]
	cbz	x2, LBB0_4
; %bb.3:
	ldr	w8, [x23]
	tst	w8, w2
	b.eq	LBB0_9
LBB0_4:
	mov	x0, x21
	bl	_ACPI_ALLOCATE
	str	w0, [x19, #12]
	cbnz	w0, LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_6:
	str	x21, [x19]
	mov	x2, x21
LBB0_7:
	ldr	w0, [x19, #12]
	mov	w1, #0
	bl	_ACPI_MEMSET
	ldr	w0, [x19, #12]
	ldr	w1, [x24]
	mov	x2, x21
	bl	_ACPI_MEMCPY
LBB0_8:
	ldr	w8, [x20, #8]
	str	w8, [x19, #8]
	ldr	w8, [x23]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [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
LBB0_9:
	cmp	x21, x2
	b.le	LBB0_7
; %bb.10:
	mov	x1, x0
	ldr	w0, [x19, #12]
	bl	_ACPI_MEMCPY
	ldr	w0, [x19]
	bl	_ACPI_DEBUG_PRINT
	b	LBB0_8
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_u8,4,2                         ; @u8
	.comm	_buffer,4,2                     ; @buffer
	.comm	_ex_store_buffer_to_buffer,4,2  ; @ex_store_buffer_to_buffer
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_AOPOBJ_STATIC_POINTER,4,2      ; @AOPOBJ_STATIC_POINTER
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_DB_INFO,4,2               ; @ACPI_DB_INFO
	.comm	_ACPI_TYPE_STRING,8,3           ; @ACPI_TYPE_STRING
	.comm	_original_src_type,8,3          ; @original_src_type
.subsections_via_symbols
