	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bios_sigsearch                 ## -- Begin function bios_sigsearch
	.p2align	4, 0x90
_bios_sigsearch:                        ## @bios_sigsearch
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movl	%ecx, %r12d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rax
	movq	_BIOS_START@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	cmpq	%rax, %rdi
	jg	LBB0_3
## %bb.1:
	movq	_BIOS_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rdi, %rcx
	cmpq	%rax, %rcx
	jge	LBB0_2
LBB0_3:
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_4
LBB0_2:
	movq	%rax, %rdi
LBB0_4:
	callq	_BIOS_PADDRTOVADDR
	movq	%rax, %rbx
	movq	_BIOS_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_BIOS_PADDRTOVADDR
	movq	%rax, %r15
	movslq	%r13d, %r13
	movslq	-44(%rbp), %r14                 ## 4-byte Folded Reload
	leaq	(%rbx,%r13), %rax
	addq	%r14, %rax
	cmpq	%r15, %rax
	jae	LBB0_8
## %bb.5:
	movslq	%r12d, %r12
	addq	%r13, %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r13), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_bcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	%r12, %rbx
	leaq	(%rbx,%r14), %rax
	cmpq	%r15, %rax
	jb	LBB0_6
LBB0_8:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BIOS_VADDRTOPADDR              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BIOS_START,8,3                 ## @BIOS_START
	.comm	_BIOS_SIZE,8,3                  ## @BIOS_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bios_sigsearch                 ; -- Begin function bios_sigsearch
	.p2align	2
_bios_sigsearch:                        ; @bios_sigsearch
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x4
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x24, _BIOS_START@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BIOS_START@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x25, _BIOS_SIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _BIOS_SIZE@GOTPAGEOFF]
	cmp	x8, x0
	b.gt	LBB0_2
; %bb.1:
	ldr	x9, [x25]
	add	x9, x9, x8
	cmp	x9, x0
	b.ge	LBB0_4
LBB0_2:
	cbnz	x0, LBB0_8
; %bb.3:
	mov	x0, x8
LBB0_4:
	bl	_BIOS_PADDRTOVADDR
	mov	x22, x0
	ldr	x8, [x24]
	ldr	x9, [x25]
	add	x0, x9, x8
	bl	_BIOS_PADDRTOVADDR
	sxtw	x23, w23
	sxtw	x8, w19
	add	x9, x22, x23
	add	x9, x9, x8
	cmp	x9, x0
	b.hs	LBB0_8
; %bb.5:
	mov	x24, x0
	sxtw	x21, w21
	add	x25, x23, x8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x22, x23
	mov	x1, x20
	mov	x2, x19
	bl	_bcmp
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, x21
	add	x8, x22, x25
	cmp	x8, x24
	b.lo	LBB0_6
LBB0_8:
	mov	x0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_BIOS_VADDRTOPADDR
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BIOS_START,8,3                 ; @BIOS_START
	.comm	_BIOS_SIZE,8,3                  ; @BIOS_SIZE
.subsections_via_symbols
