	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_ret_rf_antenna
_mwifiex_ret_rf_antenna:                ## @mwifiex_ret_rf_antenna
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	(%r14), %rax
	movq	_HT_STREAM_2X2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	16(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 8(%rbx)
	movl	8(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, (%rbx)
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	20(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, %r13
	movl	16(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, %rbx
	movl	12(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, %r12
	movl	8(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rcx
	movq	%rbx, %r8
	movq	%r12, %r9
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	jmp	LBB0_3
LBB0_2:
	movl	(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 8(%rbx)
	movl	(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, (%rbx)
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	4(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_le16_to_cpu
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%rbx, %rcx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_3:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HT_STREAM_2X2,8,3              ## @HT_STREAM_2X2
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RF_ANT_RESP: Tx action = 0x%x, Tx Mode = 0x%04x\tRx action = 0x%x, Rx Mode = 0x%04x\n"

L_.str.1:                               ## @.str.1
	.asciz	"RF_ANT_RESP: action = 0x%x, Mode = 0x%04x\n"

	.no_dead_strip	_mwifiex_ret_rf_antenna
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_ret_rf_antenna
_mwifiex_ret_rf_antenna:                ; @mwifiex_ret_rf_antenna
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #16]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _HT_STREAM_2X2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HT_STREAM_2X2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20, #16]
	bl	_le16_to_cpu
	str	x0, [x21, #8]
	ldr	w0, [x20, #8]
	bl	_le16_to_cpu
	str	x0, [x21]
Lloh3:
	adrp	x8, _INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	w0, [x20, #20]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w0, [x20, #16]
	bl	_le16_to_cpu
	mov	x23, x0
	ldr	w0, [x20, #12]
	bl	_le16_to_cpu
	mov	x24, x0
	ldr	w0, [x20, #8]
	bl	_le16_to_cpu
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	stp	x24, x0, [sp]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	mov	x4, x23
	b	LBB0_3
LBB0_2:
	ldr	w0, [x20]
	bl	_le16_to_cpu
	str	x0, [x21, #8]
	ldr	w0, [x20]
	bl	_le16_to_cpu
	str	x0, [x21]
Lloh8:
	adrp	x8, _INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	ldr	w0, [x20, #4]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w0, [x20]
	bl	_le16_to_cpu
	mov	x4, x0
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
LBB0_3:
	bl	_mwifiex_dbg
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HT_STREAM_2X2,8,3              ; @HT_STREAM_2X2
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RF_ANT_RESP: Tx action = 0x%x, Tx Mode = 0x%04x\tRx action = 0x%x, Rx Mode = 0x%04x\n"

l_.str.1:                               ; @.str.1
	.asciz	"RF_ANT_RESP: action = 0x%x, Mode = 0x%04x\n"

	.no_dead_strip	_mwifiex_ret_rf_antenna
.subsections_via_symbols
