	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_classifier
_b43_nphy_classifier:                   ## @b43_nphy_classifier
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	cmpl	$16, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_b43_mac_suspend
LBB0_2:
	movq	_B43_NPHY_CLASSCTL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movq	_B43_NPHY_CLASSCTL_CCKEN@GOTPCREL(%rip), %rcx
	movq	_B43_NPHY_CLASSCTL_OFDMEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_B43_NPHY_CLASSCTL_WAITEDEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	andl	%ebx, %r15d
	notl	%ebx
	andl	%eax, %ebx
	andl	%edx, %ebx
	orl	%r15d, %ebx
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$65528, %edx                    ## imm = 0xFFF8
	movl	%ebx, %ecx
	callq	_b43_phy_maskset
	movq	(%r14), %rax
	cmpl	$16, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_b43_mac_enable
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_NPHY_CLASSCTL,4,2          ## @B43_NPHY_CLASSCTL
	.comm	_B43_NPHY_CLASSCTL_CCKEN,4,2    ## @B43_NPHY_CLASSCTL_CCKEN
	.comm	_B43_NPHY_CLASSCTL_OFDMEN,4,2   ## @B43_NPHY_CLASSCTL_OFDMEN
	.comm	_B43_NPHY_CLASSCTL_WAITEDEN,4,2 ## @B43_NPHY_CLASSCTL_WAITEDEN
	.no_dead_strip	_b43_nphy_classifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_nphy_classifier
_b43_nphy_classifier:                   ; @b43_nphy_classifier
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #16
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_b43_mac_suspend
LBB0_2:
Lloh0:
	adrp	x22, _B43_NPHY_CLASSCTL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _B43_NPHY_CLASSCTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_read
Lloh2:
	adrp	x8, _B43_NPHY_CLASSCTL_CCKEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B43_NPHY_CLASSCTL_CCKEN@GOTPAGEOFF]
Lloh4:
	adrp	x9, _B43_NPHY_CLASSCTL_OFDMEN@GOTPAGE
Lloh5:
	ldr	x9, [x9, _B43_NPHY_CLASSCTL_OFDMEN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _B43_NPHY_CLASSCTL_WAITEDEN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _B43_NPHY_CLASSCTL_WAITEDEN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w9, w0, w21
	and	w8, w9, w8
	and	w9, w20, w21
	orr	w20, w8, w9
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #65528
	mov	x3, x20
	bl	_b43_phy_maskset
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #16
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_b43_mac_enable
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_NPHY_CLASSCTL,4,2          ; @B43_NPHY_CLASSCTL
	.comm	_B43_NPHY_CLASSCTL_CCKEN,4,2    ; @B43_NPHY_CLASSCTL_CCKEN
	.comm	_B43_NPHY_CLASSCTL_OFDMEN,4,2   ; @B43_NPHY_CLASSCTL_OFDMEN
	.comm	_B43_NPHY_CLASSCTL_WAITEDEN,4,2 ; @B43_NPHY_CLASSCTL_WAITEDEN
	.no_dead_strip	_b43_nphy_classifier
.subsections_via_symbols
