	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_read_tx_pctl_mode_from_hardware
_lpphy_read_tx_pctl_mode_from_hardware: ## @lpphy_read_tx_pctl_mode_from_hardware
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	_B43_LPPHY_TX_PWR_CTL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_b43_phy_read
	movq	_B43_LPPHY_TX_PWR_CTL_CMD_MODE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.3:
	movq	_B43_LPPHY_TXPCTL_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_B43_LPPHY_TXPCTL_SW@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_B43_LPPHY_TXPCTL_HW@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	movq	_B43_LPPHY_TXPCTL_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_B43_WARN_ON                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD,4,2   ## @B43_LPPHY_TX_PWR_CTL_CMD
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD_MODE,4,2 ## @B43_LPPHY_TX_PWR_CTL_CMD_MODE
	.comm	_B43_LPPHY_TXPCTL_OFF,4,2       ## @B43_LPPHY_TXPCTL_OFF
	.comm	_B43_LPPHY_TXPCTL_SW,4,2        ## @B43_LPPHY_TXPCTL_SW
	.comm	_B43_LPPHY_TXPCTL_HW,4,2        ## @B43_LPPHY_TXPCTL_HW
	.comm	_B43_LPPHY_TXPCTL_UNKNOWN,4,2   ## @B43_LPPHY_TXPCTL_UNKNOWN
	.no_dead_strip	_lpphy_read_tx_pctl_mode_from_hardware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpphy_read_tx_pctl_mode_from_hardware
_lpphy_read_tx_pctl_mode_from_hardware: ; @lpphy_read_tx_pctl_mode_from_hardware
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _B43_LPPHY_TX_PWR_CTL_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_LPPHY_TX_PWR_CTL_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_b43_phy_read
Lloh3:
	adrp	x8, _B43_LPPHY_TX_PWR_CTL_CMD_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_LPPHY_TX_PWR_CTL_CMD_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.3:
Lloh6:
	adrp	x8, _B43_LPPHY_TXPCTL_OFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43_LPPHY_TXPCTL_OFF@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _B43_LPPHY_TXPCTL_SW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B43_LPPHY_TXPCTL_SW@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _B43_LPPHY_TXPCTL_HW@GOTPAGE
Lloh11:
	ldr	x8, [x8, _B43_LPPHY_TXPCTL_HW@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh12:
	adrp	x8, _B43_LPPHY_TXPCTL_UNKNOWN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43_LPPHY_TXPCTL_UNKNOWN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_B43_WARN_ON
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD,4,2   ; @B43_LPPHY_TX_PWR_CTL_CMD
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD_MODE,4,2 ; @B43_LPPHY_TX_PWR_CTL_CMD_MODE
	.comm	_B43_LPPHY_TXPCTL_OFF,4,2       ; @B43_LPPHY_TXPCTL_OFF
	.comm	_B43_LPPHY_TXPCTL_SW,4,2        ; @B43_LPPHY_TXPCTL_SW
	.comm	_B43_LPPHY_TXPCTL_HW,4,2        ; @B43_LPPHY_TXPCTL_HW
	.comm	_B43_LPPHY_TXPCTL_UNKNOWN,4,2   ; @B43_LPPHY_TXPCTL_UNKNOWN
	.no_dead_strip	_lpphy_read_tx_pctl_mode_from_hardware
.subsections_via_symbols
