	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_mgmtframe_txantenna
_b43legacy_mgmtframe_txantenna:         ## @b43legacy_mgmtframe_txantenna
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_6
## %bb.3:
	movq	_B43legacy_TX4_PHY_ANT0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_7
LBB0_5:
	movq	_B43legacy_TX4_PHY_ANTLAST@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_7
LBB0_4:
	movq	_B43legacy_TX4_PHY_ANT1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_7
LBB0_6:
	movl	$1, %edi
	callq	_B43legacy_BUG_ON
	xorl	%r14d, %r14d
LBB0_7:
	movq	_B43legacy_SHM_SHARED@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_B43legacy_SHM_SH_BEACPHYCTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_b43legacy_shm_read16
	movq	_B43legacy_TX4_PHY_ANT@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%r14d, %ecx
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_b43legacy_shm_write16
	movl	(%r15), %esi
	movq	_B43legacy_SHM_SH_ACKCTSPHYCTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_b43legacy_shm_read16
	movl	(%r12), %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%r14d, %ecx
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_b43legacy_shm_write16
	movl	(%r15), %esi
	movq	_B43legacy_SHM_SH_PRPHYCTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_b43legacy_shm_read16
	movl	(%r12), %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%r14d, %ecx
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43legacy_shm_write16          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_TX4_PHY_ANT0,4,2     ## @B43legacy_TX4_PHY_ANT0
	.comm	_B43legacy_TX4_PHY_ANT1,4,2     ## @B43legacy_TX4_PHY_ANT1
	.comm	_B43legacy_TX4_PHY_ANTLAST,4,2  ## @B43legacy_TX4_PHY_ANTLAST
	.comm	_B43legacy_SHM_SHARED,4,2       ## @B43legacy_SHM_SHARED
	.comm	_B43legacy_SHM_SH_BEACPHYCTL,4,2 ## @B43legacy_SHM_SH_BEACPHYCTL
	.comm	_B43legacy_TX4_PHY_ANT,4,2      ## @B43legacy_TX4_PHY_ANT
	.comm	_B43legacy_SHM_SH_ACKCTSPHYCTL,4,2 ## @B43legacy_SHM_SH_ACKCTSPHYCTL
	.comm	_B43legacy_SHM_SH_PRPHYCTL,4,2  ## @B43legacy_SHM_SH_PRPHYCTL
	.no_dead_strip	_b43legacy_mgmtframe_txantenna
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_mgmtframe_txantenna
_b43legacy_mgmtframe_txantenna:         ; @b43legacy_mgmtframe_txantenna
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _B43legacy_TX4_PHY_ANT0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43legacy_TX4_PHY_ANT0@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _B43legacy_TX4_PHY_ANTLAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43legacy_TX4_PHY_ANTLAST@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _B43legacy_TX4_PHY_ANT1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43legacy_TX4_PHY_ANT1@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	b	LBB0_7
LBB0_6:
	mov	w0, #1
	bl	_B43legacy_BUG_ON
	mov	w20, #0
LBB0_7:
Lloh9:
	adrp	x21, _B43legacy_SHM_SHARED@GOTPAGE
Lloh10:
	ldr	x21, [x21, _B43legacy_SHM_SHARED@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh11:
	adrp	x22, _B43legacy_SHM_SH_BEACPHYCTL@GOTPAGE
Lloh12:
	ldr	x22, [x22, _B43legacy_SHM_SH_BEACPHYCTL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_b43legacy_shm_read16
Lloh13:
	adrp	x23, _B43legacy_TX4_PHY_ANT@GOTPAGE
Lloh14:
	ldr	x23, [x23, _B43legacy_TX4_PHY_ANT@GOTPAGEOFF]
	ldr	w8, [x23]
	bic	w8, w0, w8
	orr	w3, w8, w20
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_b43legacy_shm_write16
	ldr	w1, [x21]
Lloh15:
	adrp	x22, _B43legacy_SHM_SH_ACKCTSPHYCTL@GOTPAGE
Lloh16:
	ldr	x22, [x22, _B43legacy_SHM_SH_ACKCTSPHYCTL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_b43legacy_shm_read16
	ldr	w8, [x23]
	bic	w8, w0, w8
	orr	w3, w8, w20
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_b43legacy_shm_write16
	ldr	w1, [x21]
Lloh17:
	adrp	x22, _B43legacy_SHM_SH_PRPHYCTL@GOTPAGE
Lloh18:
	ldr	x22, [x22, _B43legacy_SHM_SH_PRPHYCTL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_b43legacy_shm_read16
	ldr	w8, [x23]
	bic	w8, w0, w8
	orr	w3, w8, w20
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_b43legacy_shm_write16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_TX4_PHY_ANT0,4,2     ; @B43legacy_TX4_PHY_ANT0
	.comm	_B43legacy_TX4_PHY_ANT1,4,2     ; @B43legacy_TX4_PHY_ANT1
	.comm	_B43legacy_TX4_PHY_ANTLAST,4,2  ; @B43legacy_TX4_PHY_ANTLAST
	.comm	_B43legacy_SHM_SHARED,4,2       ; @B43legacy_SHM_SHARED
	.comm	_B43legacy_SHM_SH_BEACPHYCTL,4,2 ; @B43legacy_SHM_SH_BEACPHYCTL
	.comm	_B43legacy_TX4_PHY_ANT,4,2      ; @B43legacy_TX4_PHY_ANT
	.comm	_B43legacy_SHM_SH_ACKCTSPHYCTL,4,2 ; @B43legacy_SHM_SH_ACKCTSPHYCTL
	.comm	_B43legacy_SHM_SH_PRPHYCTL,4,2  ; @B43legacy_SHM_SH_PRPHYCTL
	.no_dead_strip	_b43legacy_mgmtframe_txantenna
.subsections_via_symbols
