	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_wireless_core_start
_b43legacy_wireless_core_start:         ## @b43legacy_wireless_core_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_b43legacy_status
	movq	_B43legacy_STAT_INITIALIZED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_B43legacy_WARN_ON
	movq	%rbx, %rdi
	callq	_drain_txstatus_queue
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movq	_b43legacy_interrupt_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_KBUILD_MODNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %r8
	callq	_request_irq
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_b43legacyerr
	jmp	LBB0_3
LBB0_2:
	movl	(%rdi), %edi
	callq	_ieee80211_wake_queues
	movq	_B43legacy_STAT_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_b43legacy_set_status
	movq	%rbx, %rdi
	callq	_b43legacy_mac_enable
	movq	_B43legacy_MMIO_GEN_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	callq	_b43legacy_write32
	movq	%rbx, %rdi
	callq	_b43legacy_periodic_tasks_setup
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_b43legacydbg
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_STAT_INITIALIZED,8,3 ## @B43legacy_STAT_INITIALIZED
	.comm	_b43legacy_interrupt_handler,4,2 ## @b43legacy_interrupt_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_KBUILD_MODNAME,4,2             ## @KBUILD_MODNAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot request IRQ-%d\n"

	.comm	_B43legacy_STAT_STARTED,4,2     ## @B43legacy_STAT_STARTED
	.comm	_B43legacy_MMIO_GEN_IRQ_MASK,4,2 ## @B43legacy_MMIO_GEN_IRQ_MASK
L_.str.1:                               ## @.str.1
	.asciz	"Wireless interface started\n"

	.no_dead_strip	_b43legacy_wireless_core_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_wireless_core_start
_b43legacy_wireless_core_start:         ; @b43legacy_wireless_core_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_b43legacy_status
Lloh0:
	adrp	x8, _B43legacy_STAT_INITIALIZED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43legacy_STAT_INITIALIZED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_B43legacy_WARN_ON
	mov	x0, x19
	bl	_drain_txstatus_queue
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _b43legacy_interrupt_handler@GOTPAGE
Lloh4:
	ldr	x8, [x8, _b43legacy_interrupt_handler@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _KBUILD_MODNAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KBUILD_MODNAME@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x4, x19
	bl	_request_irq
	mov	x20, x0
	ldr	x0, [x19]
	cbz	w20, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	w2, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43legacyerr
	b	LBB0_3
LBB0_2:
	ldr	w0, [x0]
	bl	_ieee80211_wake_queues
Lloh14:
	adrp	x8, _B43legacy_STAT_STARTED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _B43legacy_STAT_STARTED@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43legacy_set_status
	mov	x0, x19
	bl	_b43legacy_mac_enable
Lloh17:
	adrp	x8, _B43legacy_MMIO_GEN_IRQ_MASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _B43legacy_MMIO_GEN_IRQ_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x19
	bl	_b43legacy_write32
	mov	x0, x19
	bl	_b43legacy_periodic_tasks_setup
	ldr	x0, [x19]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_b43legacydbg
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_STAT_INITIALIZED,8,3 ; @B43legacy_STAT_INITIALIZED
	.comm	_b43legacy_interrupt_handler,4,2 ; @b43legacy_interrupt_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_KBUILD_MODNAME,4,2             ; @KBUILD_MODNAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot request IRQ-%d\n"

	.comm	_B43legacy_STAT_STARTED,4,2     ; @B43legacy_STAT_STARTED
	.comm	_B43legacy_MMIO_GEN_IRQ_MASK,4,2 ; @B43legacy_MMIO_GEN_IRQ_MASK
l_.str.1:                               ; @.str.1
	.asciz	"Wireless interface started\n"

	.no_dead_strip	_b43legacy_wireless_core_start
.subsections_via_symbols
