	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function determine_firmware_type
_determine_firmware_type:               ## @determine_firmware_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$32768, (%rdi)                  ## imm = 0x8000
	jge	LBB0_2
## %bb.1:
	movq	_FIRMWARE_TYPE_AGERE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	jne	LBB0_5
## %bb.3:
	cmpq	$0, 8(%rdi)
	je	LBB0_4
LBB0_5:
	movq	_FIRMWARE_TYPE_INTERSIL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_FIRMWARE_TYPE_SYMBOL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRMWARE_TYPE_AGERE,4,2        ## @FIRMWARE_TYPE_AGERE
	.comm	_FIRMWARE_TYPE_SYMBOL,4,2       ## @FIRMWARE_TYPE_SYMBOL
	.comm	_FIRMWARE_TYPE_INTERSIL,4,2     ## @FIRMWARE_TYPE_INTERSIL
	.no_dead_strip	_determine_firmware_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function determine_firmware_type
_determine_firmware_type:               ; @determine_firmware_type
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #8, lsl #12                 ; =32768
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _FIRMWARE_TYPE_AGERE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIRMWARE_TYPE_AGERE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_2:
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _FIRMWARE_TYPE_INTERSIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIRMWARE_TYPE_INTERSIL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh6:
	adrp	x8, _FIRMWARE_TYPE_SYMBOL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FIRMWARE_TYPE_SYMBOL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FIRMWARE_TYPE_AGERE,4,2        ; @FIRMWARE_TYPE_AGERE
	.comm	_FIRMWARE_TYPE_SYMBOL,4,2       ; @FIRMWARE_TYPE_SYMBOL
	.comm	_FIRMWARE_TYPE_INTERSIL,4,2     ; @FIRMWARE_TYPE_INTERSIL
	.no_dead_strip	_determine_firmware_type
.subsections_via_symbols
