	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bios_parser_get_firmware_info
_bios_parser_get_firmware_info:         ## @bios_parser_get_firmware_info
	.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
	movq	%rsi, %r12
	callq	_BP_FROM_DCB
	movq	%rax, %r15
	movq	_BP_RESULT_BADBIOSTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testq	%r12, %r12
	je	LBB0_11
## %bb.1:
	movq	_FirmwareInfo@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_DATA_TABLES
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	_ATOM_COMMON_TABLE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r13), %edi
	callq	_DATA_TABLES
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_GET_IMAGE
	movq	_header@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	-48(%rbp), %rsi
	movl	%eax, %edi
	callq	_get_atom_data_table_revision
	movl	-48(%rbp), %eax
	cmpl	$2, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.4:
	cmpl	$4, -44(%rbp)
	jne	LBB0_11
## %bb.5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_firmware_info_v1_4
	jmp	LBB0_10
LBB0_6:
	movl	-44(%rbp), %eax
	cmpl	$2, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.8:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_firmware_info_v2_1
	jmp	LBB0_10
LBB0_9:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_firmware_info_v2_2
LBB0_10:
	movl	%eax, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BP_RESULT_BADBIOSTABLE,4,2     ## @BP_RESULT_BADBIOSTABLE
	.comm	_ATOM_COMMON_TABLE_HEADER,4,2   ## @ATOM_COMMON_TABLE_HEADER
	.comm	_header,4,2                     ## @header
	.comm	_FirmwareInfo,4,2               ## @FirmwareInfo
	.no_dead_strip	_bios_parser_get_firmware_info
.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_firmware_info
_bios_parser_get_firmware_info:         ; @bios_parser_get_firmware_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	bl	_BP_FROM_DCB
Lloh0:
	adrp	x8, _BP_RESULT_BADBIOSTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BP_RESULT_BADBIOSTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	cbz	x20, LBB0_11
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x23, _FirmwareInfo@GOTPAGE
Lloh4:
	ldr	x23, [x23, _FirmwareInfo@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_DATA_TABLES
	cbz	x0, LBB0_11
; %bb.2:
Lloh5:
	adrp	x8, _ATOM_COMMON_TABLE_HEADER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATOM_COMMON_TABLE_HEADER@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	ldr	w0, [x23]
	bl	_DATA_TABLES
	mov	x1, x0
	mov	x0, x22
	bl	_GET_IMAGE
Lloh8:
	adrp	x8, _header@GOTPAGE
Lloh9:
	ldr	x8, [x8, _header@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
	add	x1, sp, #8
	bl	_get_atom_data_table_revision
	ldr	w8, [sp, #8]
	cmp	w8, #2
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.4:
	ldr	w8, [sp, #12]
	cmp	w8, #4
	b.ne	LBB0_11
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	bl	_get_firmware_info_v1_4
	b	LBB0_10
LBB0_6:
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.eq	LBB0_9
; %bb.7:
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.8:
	mov	x0, x21
	mov	x1, x20
	bl	_get_firmware_info_v2_1
	b	LBB0_10
LBB0_9:
	mov	x0, x21
	mov	x1, x20
	bl	_get_firmware_info_v2_2
LBB0_10:
	mov	x19, x0
LBB0_11:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BP_RESULT_BADBIOSTABLE,4,2     ; @BP_RESULT_BADBIOSTABLE
	.comm	_ATOM_COMMON_TABLE_HEADER,4,2   ; @ATOM_COMMON_TABLE_HEADER
	.comm	_header,4,2                     ; @header
	.comm	_FirmwareInfo,4,2               ; @FirmwareInfo
	.no_dead_strip	_bios_parser_get_firmware_info
.subsections_via_symbols
