	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_phy_txpower_check          ## -- Begin function b43_phy_txpower_check
	.p2align	4, 0x90
_b43_phy_txpower_check:                 ## @b43_phy_txpower_check
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_B43_TXPWR_IGNORE_TIME@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_1
LBB0_2:
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,2), %rdi
	callq	_round_jiffies
	movl	%eax, 24(%r14)
	movq	8(%r14), %rax
	movq	(%rax), %rcx
	movq	_SSB_BOARDVENDOR_BCM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	8(%rax), %rax
	movq	_SSB_BOARD_BU4306@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
LBB0_4:
	movq	16(%r14), %rax
	movq	_B43_TXPWR_IGNORE_TSSI@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	andl	(%rcx), %r15d
	setne	%sil
	movq	%r14, %rdi
	callq	*(%rax)
	movq	_B43_TXPWR_RES_DONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.6:
	movq	_B43_TXPWR_RES_NEED_ADJUST@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_B43_WARN_ON
	movq	16(%r14), %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
	callq	_B43_WARN_ON
	movq	(%r14), %rsi
	movl	4(%rsi), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_queue_work           ## TAILCALL
LBB0_1:
	movl	24(%r14), %esi
	movq	%rbx, %rdi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_B43_TXPWR_IGNORE_TIME,4,2      ## @B43_TXPWR_IGNORE_TIME
	.comm	_HZ,4,2                         ## @HZ
	.comm	_SSB_BOARDVENDOR_BCM,8,3        ## @SSB_BOARDVENDOR_BCM
	.comm	_SSB_BOARD_BU4306,8,3           ## @SSB_BOARD_BU4306
	.comm	_B43_TXPWR_IGNORE_TSSI,4,2      ## @B43_TXPWR_IGNORE_TSSI
	.comm	_B43_TXPWR_RES_DONE,4,2         ## @B43_TXPWR_RES_DONE
	.comm	_B43_TXPWR_RES_NEED_ADJUST,4,2  ## @B43_TXPWR_RES_NEED_ADJUST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_phy_txpower_check          ; -- Begin function b43_phy_txpower_check
	.p2align	2
_b43_phy_txpower_check:                 ; @b43_phy_txpower_check
	.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
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x8, _B43_TXPWR_IGNORE_TIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_TXPWR_IGNORE_TIME@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_5
LBB0_1:
Lloh6:
	adrp	x8, _HZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	add	x0, x21, x8, lsl #1
	bl	_round_jiffies
	str	w0, [x19, #24]
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
Lloh9:
	adrp	x10, _SSB_BOARDVENDOR_BCM@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SSB_BOARDVENDOR_BCM@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x8, #8]
Lloh12:
	adrp	x9, _SSB_BOARD_BU4306@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SSB_BOARD_BU4306@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_3:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _B43_TXPWR_IGNORE_TSSI@GOTPAGE
Lloh16:
	ldr	x9, [x9, _B43_TXPWR_IGNORE_TSSI@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w20
	cset	w1, ne
	mov	x0, x19
	blr	x8
Lloh18:
	adrp	x8, _B43_TXPWR_RES_DONE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _B43_TXPWR_RES_DONE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.4:
Lloh21:
	adrp	x8, _B43_TXPWR_RES_NEED_ADJUST@GOTPAGE
Lloh22:
	ldr	x8, [x8, _B43_TXPWR_RES_NEED_ADJUST@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, ne
	bl	_B43_WARN_ON
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_B43_WARN_ON
	ldr	x1, [x19]
	ldr	w0, [x1, #4]
	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	_ieee80211_queue_work
LBB0_5:
	ldr	w1, [x19, #24]
	mov	x0, x21
	bl	_time_before
	cbz	x0, LBB0_1
LBB0_6:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_B43_TXPWR_IGNORE_TIME,4,2      ; @B43_TXPWR_IGNORE_TIME
	.comm	_HZ,4,2                         ; @HZ
	.comm	_SSB_BOARDVENDOR_BCM,8,3        ; @SSB_BOARDVENDOR_BCM
	.comm	_SSB_BOARD_BU4306,8,3           ; @SSB_BOARD_BU4306
	.comm	_B43_TXPWR_IGNORE_TSSI,4,2      ; @B43_TXPWR_IGNORE_TSSI
	.comm	_B43_TXPWR_RES_DONE,4,2         ; @B43_TXPWR_RES_DONE
	.comm	_B43_TXPWR_RES_NEED_ADJUST,4,2  ; @B43_TXPWR_RES_NEED_ADJUST
.subsections_via_symbols
