	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpt_get_manufacturing_pg_0
_mpt_get_manufacturing_pg_0:            ## @mpt_get_manufacturing_pg_0
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_MPI_CONFIG_PAGETYPE_MANUFACTURING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	%rbx, -48(%rbp)
	movabsq	$47244640255, %rax              ## imm = 0xAFFFFFFFF
	movq	%rax, -64(%rbp)
	movq	_MPI_CONFIG_ACTION_PAGE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mpt_config
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-48(%rbp), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_6
## %bb.2:
	movq	_MPI_CONFIG_ACTION_PAGE_READ_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	(%r15), %edi
	movl	-88(%rbp), %esi
	shll	$2, %esi
	leaq	-28(%rbp), %rdx
	callq	_pci_alloc_consistent
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r14
	movl	-28(%rbp), %eax
	movl	%eax, -64(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mpt_config
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	12(%r15), %edi
	movl	8(%r14), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	8(%r15), %edi
	movl	4(%r14), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	4(%r15), %edi
	movl	(%r14), %esi
	movl	$4, %edx
	callq	_memcpy
LBB0_5:
	movl	(%r15), %edi
	movl	-88(%rbp), %esi
	shll	$2, %esi
	movl	-28(%rbp), %ecx
	movq	%r14, %rdx
	callq	_pci_free_consistent
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_MPI_CONFIG_PAGETYPE_MANUFACTURING,4,2 ## @MPI_CONFIG_PAGETYPE_MANUFACTURING
	.comm	_MPI_CONFIG_ACTION_PAGE_HEADER,4,2 ## @MPI_CONFIG_ACTION_PAGE_HEADER
	.comm	_MPI_CONFIG_ACTION_PAGE_READ_CURRENT,4,2 ## @MPI_CONFIG_ACTION_PAGE_READ_CURRENT
	.no_dead_strip	_mpt_get_manufacturing_pg_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mpt_get_manufacturing_pg_0
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	10                              ; 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mpt_get_manufacturing_pg_0:            ; @mpt_get_manufacturing_pg_0
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	add	x20, sp, #16
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _MPI_CONFIG_PAGETYPE_MANUFACTURING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPI_CONFIG_PAGETYPE_MANUFACTURING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh3:
	adrp	x8, _MPI_CONFIG_ACTION_PAGE_HEADER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPI_CONFIG_ACTION_PAGE_HEADER@GOTPAGEOFF]
	str	x20, [sp, #64]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #60]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #48]
	add	x1, sp, #48
	mov	x0, x19
	bl	_mpt_config
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	ldr	x8, [sp, #64]
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_1
; %bb.3:
Lloh8:
	adrp	x8, _MPI_CONFIG_ACTION_PAGE_READ_CURRENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MPI_CONFIG_ACTION_PAGE_READ_CURRENT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #60]
	ldr	w0, [x19]
	ldr	w8, [sp, #24]
	lsl	w1, w8, #2
	add	x2, sp, #12
	bl	_pci_alloc_consistent
	cbz	x0, LBB0_1
; %bb.4:
	mov	x20, x0
	ldr	w8, [sp, #12]
	str	w8, [sp, #48]
	add	x1, sp, #48
	mov	x0, x19
	bl	_mpt_config
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19, #12]
	ldr	w1, [x20, #8]
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19, #8]
	ldr	w1, [x20, #4]
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memcpy
LBB0_6:
	ldr	w0, [x19]
	ldr	w8, [sp, #24]
	lsl	w1, w8, #2
	ldr	w3, [sp, #12]
	mov	x2, x20
	bl	_pci_free_consistent
	b	LBB0_1
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MPI_CONFIG_PAGETYPE_MANUFACTURING,4,2 ; @MPI_CONFIG_PAGETYPE_MANUFACTURING
	.comm	_MPI_CONFIG_ACTION_PAGE_HEADER,4,2 ; @MPI_CONFIG_ACTION_PAGE_HEADER
	.comm	_MPI_CONFIG_ACTION_PAGE_READ_CURRENT,4,2 ; @MPI_CONFIG_ACTION_PAGE_READ_CURRENT
	.no_dead_strip	_mpt_get_manufacturing_pg_0
.subsections_via_symbols
