	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function biosmptable_search_mpfps
_biosmptable_search_mpfps:              ## @biosmptable_search_mpfps
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$8, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %rbx
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.2:
	xorl	%r15d, %r15d
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_warnx
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %r15
	cmpl	%r14d, %r15d
	jge	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_memread
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rbx), %r12d
	movq	_MPFPS_SIG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r13d, %edi
	callq	_strlen
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %esi
	cmpl	$1, %esi
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rbx), %esi
	addl	8(%rbx), %esi
	addl	12(%rbx), %esi
	addl	16(%rbx), %esi
	addl	20(%rbx), %esi
	addl	24(%rbx), %esi
	addl	28(%rbx), %esi
	addl	32(%rbx), %esi
	addl	36(%rbx), %esi
	addl	40(%rbx), %esi
	addl	44(%rbx), %esi
	addl	48(%rbx), %esi
	addl	52(%rbx), %esi
	addl	56(%rbx), %esi
	addl	60(%rbx), %esi
	incl	%esi
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_9
LBB0_11:
	movq	%rbx, %rdi
	callq	_free
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_13:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_warnx
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to malloc space for MP Floating Pointer Structure"

	.comm	_MPFPS_SIG,4,2                  ## @MPFPS_SIG
L_.str.1:                               ## @.str.1
	.asciz	"bad mpfps length (%d)"

L_.str.2:                               ## @.str.2
	.asciz	"bad mpfps checksum (%d)\n"

	.no_dead_strip	_biosmptable_search_mpfps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function biosmptable_search_mpfps
_biosmptable_search_mpfps:              ; @biosmptable_search_mpfps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x21, x0
	mov	w0, #8
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.1:
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x26, #0
Lloh0:
	adrp	x27, _MPFPS_SIG@GOTPAGE
Lloh1:
	ldr	x27, [x27, _MPFPS_SIG@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str.2@PAGE
Lloh3:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh4:
	adrp	x23, l_.str.1@PAGE
Lloh5:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x8, [sp]
	mov	x0, x23
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_warnx
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x26, #16
	cmp	w26, w20
	b.ge	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, x26
	mov	x1, x19
	mov	w2, #8
	bl	_memread
	cbz	w0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w24, [x19, #4]
	ldr	w25, [x27]
	mov	x0, x25
	bl	_strlen
	mov	x2, x0
	mov	x0, x24
	mov	x1, x25
	bl	_strncmp
	cbnz	w0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w8, w9, [x19, #4]
	ldp	w10, w11, [x19, #12]
	add	w8, w8, w9
	add	w8, w8, w10
	ldp	w9, w10, [x19, #20]
	add	w8, w8, w11
	add	w8, w8, w9
	ldp	w9, w11, [x19, #28]
	add	w8, w8, w10
	add	w8, w8, w9
	ldp	w9, w10, [x19, #36]
	add	w8, w8, w11
	add	w8, w8, w9
	ldp	w9, w11, [x19, #44]
	add	w8, w8, w10
	add	w8, w8, w9
	ldp	w9, w10, [x19, #52]
	add	w8, w8, w11
	add	w8, w8, w9
	ldr	w9, [x19, #60]
	add	w8, w8, w10
	add	w8, w8, w9
	adds	w8, w8, #1
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x8, [sp]
	mov	x0, x22
	b	LBB0_4
LBB0_11:
	mov	x0, x19
	bl	_free
	mov	x19, #0
	b	LBB0_13
LBB0_12:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to malloc space for MP Floating Pointer Structure"

	.comm	_MPFPS_SIG,4,2                  ; @MPFPS_SIG
l_.str.1:                               ; @.str.1
	.asciz	"bad mpfps length (%d)"

l_.str.2:                               ; @.str.2
	.asciz	"bad mpfps checksum (%d)\n"

	.no_dead_strip	_biosmptable_search_mpfps
.subsections_via_symbols
