	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt61pci_config_antenna_2529_rx
_rt61pci_config_antenna_2529_rx:        ## @rt61pci_config_antenna_2529_rx
	.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
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_MAC_CSR13@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_MAC_CSR13_DIR4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field32
	movq	_MAC_CSR13_VAL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_rt2x00_set_field32
	movq	_MAC_CSR13_DIR3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field32
	movq	_MAC_CSR13_VAL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	testl	%r14d, %r14d
	sete	%dl
	movq	%rbx, %rdi
	callq	_rt2x00_set_field32
	movl	(%r13), %esi
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	callq	_rt2x00mmio_register_write
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_CSR13,4,2                  ## @MAC_CSR13
	.comm	_MAC_CSR13_DIR4,4,2             ## @MAC_CSR13_DIR4
	.comm	_MAC_CSR13_VAL4,4,2             ## @MAC_CSR13_VAL4
	.comm	_MAC_CSR13_DIR3,4,2             ## @MAC_CSR13_DIR3
	.comm	_MAC_CSR13_VAL3,4,2             ## @MAC_CSR13_VAL3
	.no_dead_strip	_rt61pci_config_antenna_2529_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt61pci_config_antenna_2529_rx
_rt61pci_config_antenna_2529_rx:        ; @rt61pci_config_antenna_2529_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _MAC_CSR13@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAC_CSR13@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh2:
	adrp	x8, _MAC_CSR13_DIR4@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAC_CSR13_DIR4@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field32
Lloh5:
	adrp	x8, _MAC_CSR13_VAL4@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAC_CSR13_VAL4@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	x2, x20
	bl	_rt2x00_set_field32
Lloh8:
	adrp	x8, _MAC_CSR13_DIR3@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAC_CSR13_DIR3@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field32
Lloh11:
	adrp	x8, _MAC_CSR13_VAL3@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAC_CSR13_VAL3@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	cmp	w19, #0
	cset	w2, eq
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w1, [x22]
	ldr	w2, [sp, #12]
	mov	x0, x21
	bl	_rt2x00mmio_register_write
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_CSR13,4,2                  ; @MAC_CSR13
	.comm	_MAC_CSR13_DIR4,4,2             ; @MAC_CSR13_DIR4
	.comm	_MAC_CSR13_VAL4,4,2             ; @MAC_CSR13_VAL4
	.comm	_MAC_CSR13_DIR3,4,2             ; @MAC_CSR13_DIR3
	.comm	_MAC_CSR13_VAL3,4,2             ; @MAC_CSR13_VAL3
	.no_dead_strip	_rt61pci_config_antenna_2529_rx
.subsections_via_symbols
