	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_generate_tx_phy_ctl1
_b43_generate_tx_phy_ctl1:              ## @b43_generate_tx_phy_ctl1
	.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, %r14d
	movq	%rdi, %r15
	movq	_B43_TXH_PHY1_BW_20@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%esi, %edi
	callq	_b43_is_cck_rate
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movq	_B43_PHYTYPE_LP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_2:
	movl	%r14d, %edi
	callq	_b43_tx_legacy_rate_phy_ctl_ent
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	orl	4(%rax), %ebx
	orl	(%rax), %ebx
LBB0_4:
	movq	_B43_TXH_PHY1_MODE_SISO@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHYTYPE_LP,8,3             ## @B43_PHYTYPE_LP
	.comm	_B43_TXH_PHY1_BW_20,4,2         ## @B43_TXH_PHY1_BW_20
	.comm	_B43_TXH_PHY1_MODE_SISO,4,2     ## @B43_TXH_PHY1_MODE_SISO
	.no_dead_strip	_b43_generate_tx_phy_ctl1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_generate_tx_phy_ctl1
_b43_generate_tx_phy_ctl1:              ; @b43_generate_tx_phy_ctl1
	.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	x21, x0
Lloh0:
	adrp	x8, _B43_TXH_PHY1_BW_20@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_TXH_PHY1_BW_20@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	mov	x0, x1
	bl	_b43_is_cck_rate
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _B43_PHYTYPE_LP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _B43_PHYTYPE_LP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_b43_tx_legacy_rate_phy_ctl_ent
	cbz	x0, LBB0_4
; %bb.3:
	ldp	w9, w8, [x0]
	orr	w8, w8, w19
	orr	w19, w8, w9
LBB0_4:
Lloh6:
	adrp	x8, _B43_TXH_PHY1_MODE_SISO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43_TXH_PHY1_MODE_SISO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w19, w8, w19
LBB0_5:
	mov	x0, x19
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHYTYPE_LP,8,3             ; @B43_PHYTYPE_LP
	.comm	_B43_TXH_PHY1_BW_20,4,2         ; @B43_TXH_PHY1_BW_20
	.comm	_B43_TXH_PHY1_MODE_SISO,4,2     ; @B43_TXH_PHY1_MODE_SISO
	.no_dead_strip	_b43_generate_tx_phy_ctl1
.subsections_via_symbols
