	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_synth_pu_workaround
_b43_synth_pu_workaround:               ## @b43_synth_pu_workaround
	.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	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_might_sleep
	cmpl	$8272, (%rbx)                   ## imm = 0x2050
	jne	LBB0_2
## %bb.1:
	cmpl	$5, 4(%rbx)
	jle	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leal	4(%r14), %edi
	cmpl	$11, %r14d
	movq	_B43_MMIO_CHANNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movl	$1, %eax
	cmovgel	%eax, %edi
	callq	_channel2freq_bg
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_b43_write16
	movl	$1, %edi
	callq	_msleep
	movl	(%r12), %r15d
	movl	%r14d, %edi
	callq	_channel2freq_bg
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_write16                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_MMIO_CHANNEL,4,2           ## @B43_MMIO_CHANNEL
	.no_dead_strip	_b43_synth_pu_workaround
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_synth_pu_workaround
_b43_synth_pu_workaround:               ; @b43_synth_pu_workaround
	.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, x1
	mov	x19, x0
	bl	_might_sleep
	ldr	w8, [x19]
	mov	w9, #8272
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #5
	b.le	LBB0_3
LBB0_2:
	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
LBB0_3:
Lloh0:
	adrp	x22, _B43_MMIO_CHANNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _B43_MMIO_CHANNEL@GOTPAGEOFF]
	ldr	w21, [x22]
	add	w8, w20, #4
	cmp	w20, #11
	csinc	w0, w8, wzr, lt
	bl	_channel2freq_bg
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_b43_write16
	mov	w0, #1
	bl	_msleep
	ldr	w21, [x22]
	mov	x0, x20
	bl	_channel2freq_bg
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	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
	b	_b43_write16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_MMIO_CHANNEL,4,2           ; @B43_MMIO_CHANNEL
	.no_dead_strip	_b43_synth_pu_workaround
.subsections_via_symbols
