	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_sprom_fixup
_b43legacy_sprom_fixup:                 ## @b43legacy_sprom_fixup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	_PCI_VENDOR_ID_APPLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	cmpl	$78, 16(%rdi)
	jne	LBB0_4
## %bb.2:
	cmpl	$65, (%rdi)
	jl	LBB0_4
## %bb.3:
	movq	_B43legacy_BFL_PACTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rdi)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VENDOR_ID_APPLE,8,3        ## @PCI_VENDOR_ID_APPLE
	.comm	_B43legacy_BFL_PACTRL,4,2       ## @B43legacy_BFL_PACTRL
	.no_dead_strip	_b43legacy_sprom_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_sprom_fixup
_b43legacy_sprom_fixup:                 ; @b43legacy_sprom_fixup
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _PCI_VENDOR_ID_APPLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_VENDOR_ID_APPLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x0, #16]
	cmp	w8, #78
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x0]
	cmp	w8, #65
	b.lt	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _B43legacy_BFL_PACTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43legacy_BFL_PACTRL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0, #4]
	orr	w8, w9, w8
	str	w8, [x0, #4]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VENDOR_ID_APPLE,8,3        ; @PCI_VENDOR_ID_APPLE
	.comm	_B43legacy_BFL_PACTRL,4,2       ; @B43legacy_BFL_PACTRL
	.no_dead_strip	_b43legacy_sprom_fixup
.subsections_via_symbols
