	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bios_parser_get_ss_entry_number
_bios_parser_get_ss_entry_number:       ## @bios_parser_get_ss_entry_number
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_BP_FROM_DCB
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_signal_to_ss_id
	movl	%eax, %r15d
	movq	_ASIC_InternalSS_Info@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_DATA_TABLES
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	_ATOM_COMMON_TABLE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %edi
	callq	_DATA_TABLES
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_GET_IMAGE
	movq	_header@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	-40(%rbp), %rsi
	movl	%eax, %edi
	callq	_get_atom_data_table_revision
	xorl	%eax, %eax
	movl	-40(%rbp), %ecx
	cmpl	$3, %ecx
	je	LBB0_5
## %bb.2:
	cmpl	$2, %ecx
	jne	LBB0_7
## %bb.3:
	cmpl	$1, -36(%rbp)
	jne	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_get_ss_entry_number
	jmp	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_ss_entry_number_from_ss_info_tbl ## TAILCALL
LBB0_5:
	cmpl	$1, -36(%rbp)
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_get_ss_entry_number_from_internal_ss_info_tbl_V3_1
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATOM_COMMON_TABLE_HEADER,4,2   ## @ATOM_COMMON_TABLE_HEADER
	.comm	_header,4,2                     ## @header
	.comm	_ASIC_InternalSS_Info,4,2       ## @ASIC_InternalSS_Info
	.no_dead_strip	_bios_parser_get_ss_entry_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bios_parser_get_ss_entry_number
_bios_parser_get_ss_entry_number:       ; @bios_parser_get_ss_entry_number
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	bl	_BP_FROM_DCB
	mov	x19, x0
	mov	x0, x20
	bl	_signal_to_ss_id
	mov	x20, x0
Lloh0:
	adrp	x22, _ASIC_InternalSS_Info@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ASIC_InternalSS_Info@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_DATA_TABLES
	cbz	w0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x8, _ATOM_COMMON_TABLE_HEADER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATOM_COMMON_TABLE_HEADER@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	ldr	w0, [x22]
	bl	_DATA_TABLES
	mov	x1, x0
	mov	x0, x21
	bl	_GET_IMAGE
Lloh5:
	adrp	x8, _header@GOTPAGE
Lloh6:
	ldr	x8, [x8, _header@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
	add	x1, sp, #8
	bl	_get_atom_data_table_revision
	ldr	w8, [sp, #8]
	cmp	w8, #3
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #2
	b.ne	LBB0_8
; %bb.3:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_get_ss_entry_number
	b	LBB0_9
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	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
	add	sp, sp, #64
	b	_get_ss_entry_number_from_ss_info_tbl
LBB0_6:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_get_ss_entry_number_from_internal_ss_info_tbl_V3_1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ATOM_COMMON_TABLE_HEADER,4,2   ; @ATOM_COMMON_TABLE_HEADER
	.comm	_header,4,2                     ; @header
	.comm	_ASIC_InternalSS_Info,4,2       ; @ASIC_InternalSS_Info
	.no_dead_strip	_bios_parser_get_ss_entry_number
.subsections_via_symbols
