	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mps_read_ext_config_page_header ## -- Begin function mps_read_ext_config_page_header
	.p2align	4, 0x90
_mps_read_ext_config_page_header:       ## @mps_read_ext_config_page_header
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movl	%edi, %r14d
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	movl	$40, %esi
	callq	_bzero
	movq	_MPI2_FUNCTION_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_MPI2_CONFIG_ACTION_PAGE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_MPI2_CONFIG_PAGETYPE_EXTENDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	%rbx, -88(%rbp)
	movq	%r13, -104(%rbp)
	movl	%r12d, -112(%rbp)
	leaq	-56(%rbp), %rcx
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	$40, %edx
	movl	$12, %r8d
	xorl	%r9d, %r9d
	pushq	$30
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_mps_pass_command
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
LBB0_3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	-48(%rbp), %edi
	callq	_IOC_STATUS_SUCCESS
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.6:
	movq	%rbx, %rcx
	movq	%r14, %rbx
	testq	%r14, %r14
	je	LBB0_11
## %bb.7:
	movl	-52(%rbp), %eax
	movl	%eax, (%rcx)
	movl	-56(%rbp), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_8:
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	-48(%rbp), %ecx
	movl	%ecx, (%rax)
LBB0_10:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_MPI2_FUNCTION_CONFIG,4,2       ## @MPI2_FUNCTION_CONFIG
	.comm	_MPI2_CONFIG_ACTION_PAGE_HEADER,4,2 ## @MPI2_CONFIG_ACTION_PAGE_HEADER
	.comm	_MPI2_CONFIG_PAGETYPE_EXTENDED,4,2 ## @MPI2_CONFIG_PAGETYPE_EXTENDED
	.comm	_errno,4,2                      ## @errno
	.comm	_EIO,4,2                        ## @EIO
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mps_read_ext_config_page_header ; -- Begin function mps_read_ext_config_page_header
	.p2align	2
_mps_read_ext_config_page_header:       ; @mps_read_ext_config_page_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x6
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	add	x0, sp, #24
	mov	w1, #40
	bl	_bzero
Lloh0:
	adrp	x8, _MPI2_FUNCTION_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPI2_FUNCTION_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MPI2_CONFIG_ACTION_PAGE_HEADER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MPI2_CONFIG_ACTION_PAGE_HEADER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _MPI2_CONFIG_PAGETYPE_EXTENDED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MPI2_CONFIG_PAGETYPE_EXTENDED@GOTPAGEOFF]
	stp	w9, w8, [sp, #56]
Lloh8:
	ldr	w8, [x10]
	str	w8, [sp, #40]
	str	x24, [sp, #48]
	str	x23, [sp, #32]
	str	w22, [sp, #24]
	mov	x8, #128849018880
	str	x8, [sp]
	add	x1, sp, #24
	add	x3, sp, #8
	mov	x0, x25
	mov	w2, #40
	mov	w4, #12
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_mps_pass_command
	cbz	x0, LBB0_4
; %bb.1:
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	ldr	w0, [sp, #16]
	bl	_IOC_STATUS_SUCCESS
	cbz	w0, LBB0_8
; %bb.5:
	cbz	x20, LBB0_11
; %bb.6:
	cbz	x19, LBB0_11
; %bb.7:
	mov	w0, #0
	ldp	w9, w8, [sp, #8]
	str	w8, [x20]
	str	w9, [x19]
	b	LBB0_3
LBB0_8:
	cbz	x21, LBB0_10
; %bb.9:
	ldr	w8, [sp, #16]
	str	w8, [x21]
LBB0_10:
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_2
LBB0_11:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MPI2_FUNCTION_CONFIG,4,2       ; @MPI2_FUNCTION_CONFIG
	.comm	_MPI2_CONFIG_ACTION_PAGE_HEADER,4,2 ; @MPI2_CONFIG_ACTION_PAGE_HEADER
	.comm	_MPI2_CONFIG_PAGETYPE_EXTENDED,4,2 ; @MPI2_CONFIG_PAGETYPE_EXTENDED
	.comm	_errno,4,2                      ; @errno
	.comm	_EIO,4,2                        ; @EIO
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
