	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cfg80211_get_antenna
_mwifiex_cfg80211_get_antenna:          ## @mwifiex_cfg80211_get_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_mwifiex_cfg80211_get_adapter
	movq	_MWIFIEX_BSS_ROLE_ANY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_mwifiex_get_priv
	movq	%rax, %rbx
	movq	_HostCmd_CMD_RF_ANTENNA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HostCmd_ACT_GEN_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_mwifiex_send_cmd
	movl	4(%rbx), %eax
	movl	%eax, (%r15)
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_BSS_ROLE_ANY,4,2       ## @MWIFIEX_BSS_ROLE_ANY
	.comm	_HostCmd_CMD_RF_ANTENNA,4,2     ## @HostCmd_CMD_RF_ANTENNA
	.comm	_HostCmd_ACT_GEN_GET,4,2        ## @HostCmd_ACT_GEN_GET
	.no_dead_strip	_mwifiex_cfg80211_get_antenna
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cfg80211_get_antenna
_mwifiex_cfg80211_get_antenna:          ; @mwifiex_cfg80211_get_antenna
	.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, x2
	mov	x20, x1
	bl	_mwifiex_cfg80211_get_adapter
Lloh0:
	adrp	x8, _MWIFIEX_BSS_ROLE_ANY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWIFIEX_BSS_ROLE_ANY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mwifiex_get_priv
	mov	x21, x0
Lloh3:
	adrp	x8, _HostCmd_CMD_RF_ANTENNA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HostCmd_CMD_RF_ANTENNA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _HostCmd_ACT_GEN_GET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HostCmd_ACT_GEN_GET@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w3, #0
	mov	x4, #0
	mov	w5, #1
	bl	_mwifiex_send_cmd
	ldr	w8, [x21, #4]
	str	w8, [x20]
	ldr	w8, [x21]
	str	w8, [x19]
	mov	w0, #0
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_BSS_ROLE_ANY,4,2       ; @MWIFIEX_BSS_ROLE_ANY
	.comm	_HostCmd_CMD_RF_ANTENNA,4,2     ; @HostCmd_CMD_RF_ANTENNA
	.comm	_HostCmd_ACT_GEN_GET,4,2        ; @HostCmd_ACT_GEN_GET
	.no_dead_strip	_mwifiex_cfg80211_get_antenna
.subsections_via_symbols
