	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function b43_op_start
LCPI0_0:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_b43_op_start:                          ## @b43_op_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	%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	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_hw_to_b43_wl
	movq	%rax, %rbx
	movq	40(%rax), %r15
	movl	36(%rax), %edi
	callq	_eth_zero_addr
	movl	32(%rbx), %edi
	callq	_eth_zero_addr
	movq	$0, 24(%rbx)
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	callq	_b43_qos_clear
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,1,1]
	movups	%xmm0, 4(%rbx)
	addq	$20, %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%r15, %rdi
	callq	_b43_status
	movq	%rax, %r12
	movq	_B43_STAT_INITIALIZED@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	cmpq	%r14, %r12
	jge	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_b43_wireless_core_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
LBB0_2:
	movq	%r15, %rdi
	callq	_b43_status
	movq	_B43_STAT_STARTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_7
## %bb.3:
	movq	%r15, %rdi
	callq	_b43_wireless_core_start
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movl	%eax, %r13d
	cmpq	%r14, %r12
	jge	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_b43_wireless_core_exit
LBB0_6:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	jmp	LBB0_8
LBB0_7:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
	callq	_wiphy_rfkill_start_polling
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_b43_op_config
	xorl	%r13d, %r13d
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_STAT_INITIALIZED,8,3       ## @B43_STAT_INITIALIZED
	.comm	_B43_STAT_STARTED,8,3           ## @B43_STAT_STARTED
	.no_dead_strip	_b43_op_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function b43_op_start
lCPI0_0:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_b43_op_start:                          ; @b43_op_start
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_hw_to_b43_wl
	mov	x21, x0
	ldr	x20, [x0, #40]
	ldr	w0, [x0, #36]
	bl	_eth_zero_addr
	ldr	w0, [x21, #32]
	bl	_eth_zero_addr
	str	xzr, [x21, #24]
	str	wzr, [x21]
	mov	x0, x21
	bl	_b43_qos_clear
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x21, #4]
	add	x21, x21, #20
	mov	x0, x21
	bl	_mutex_lock
	mov	x0, x20
	bl	_b43_status
	mov	x22, x0
Lloh2:
	adrp	x8, _B43_STAT_INITIALIZED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B43_STAT_INITIALIZED@GOTPAGEOFF]
Lloh4:
	ldr	x24, [x8]
	cmp	x0, x24
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_b43_wireless_core_init
	mov	x23, x0
	cbnz	w0, LBB0_6
LBB0_2:
	mov	x0, x20
	bl	_b43_status
Lloh5:
	adrp	x8, _B43_STAT_STARTED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _B43_STAT_STARTED@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_b43_wireless_core_start
	cbz	w0, LBB0_7
; %bb.4:
	mov	x23, x0
	cmp	x22, x24
	b.ge	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_b43_wireless_core_exit
LBB0_6:
	mov	x0, x21
	bl	_mutex_unlock
	b	LBB0_8
LBB0_7:
	ldr	w0, [x19]
	bl	_wiphy_rfkill_start_polling
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	mov	w1, #-1
	bl	_b43_op_config
	mov	w23, #0
LBB0_8:
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_STAT_INITIALIZED,8,3       ; @B43_STAT_INITIALIZED
	.comm	_B43_STAT_STARTED,8,3           ; @B43_STAT_STARTED
	.no_dead_strip	_b43_op_start
.subsections_via_symbols
