	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_radio_set_txantenna  ## -- Begin function b43legacy_radio_set_txantenna
	.p2align	4, 0x90
_b43legacy_radio_set_txantenna:         ## @b43legacy_radio_set_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	shll	$8, %ebx
	movq	_B43legacy_SHM_SHARED@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$34, %edx
	callq	_b43legacy_shm_read16
	andl	$64767, %eax                    ## imm = 0xFCFF
	movl	(%r15), %esi
	orl	%ebx, %eax
	movq	%r14, %rdi
	movl	$34, %edx
	movl	%eax, %ecx
	callq	_b43legacy_shm_write16
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$936, %edx                      ## imm = 0x3A8
	callq	_b43legacy_shm_read16
	andl	$64767, %eax                    ## imm = 0xFCFF
	movl	(%r15), %esi
	orl	%ebx, %eax
	movq	%r14, %rdi
	movl	$936, %edx                      ## imm = 0x3A8
	movl	%eax, %ecx
	callq	_b43legacy_shm_write16
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$84, %edx
	callq	_b43legacy_shm_read16
	andl	$64767, %eax                    ## imm = 0xFCFF
	movl	(%r15), %esi
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	$84, %edx
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43legacy_shm_write16          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_SHM_SHARED,4,2       ## @B43legacy_SHM_SHARED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_radio_set_txantenna  ; -- Begin function b43legacy_radio_set_txantenna
	.p2align	2
_b43legacy_radio_set_txantenna:         ; @b43legacy_radio_set_txantenna
	.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	x19, x0
	lsl	w20, w1, #8
Lloh0:
	adrp	x21, _B43legacy_SHM_SHARED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _B43legacy_SHM_SHARED@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #34
	bl	_b43legacy_shm_read16
	mov	w22, #64767
	and	w8, w0, w22
	ldr	w1, [x21]
	orr	w3, w8, w20
	mov	x0, x19
	mov	w2, #34
	bl	_b43legacy_shm_write16
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #936
	bl	_b43legacy_shm_read16
	and	w8, w0, w22
	ldr	w1, [x21]
	orr	w3, w8, w20
	mov	x0, x19
	mov	w2, #936
	bl	_b43legacy_shm_write16
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #84
	bl	_b43legacy_shm_read16
	and	w8, w0, w22
	ldr	w1, [x21]
	orr	w3, w8, w20
	mov	x0, x19
	mov	w2, #84
	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	_b43legacy_shm_write16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_SHM_SHARED,4,2       ; @B43legacy_SHM_SHARED
.subsections_via_symbols
