	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cmd_robust_coex
_mwifiex_cmd_robust_coex:               ## @mwifiex_cmd_robust_coex
	.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	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	_HostCmd_CMD_ROBUST_COEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$32, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movq	_TLV_TYPE_ROBUST_COEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 64(%rbx)
	movl	$8, %edi
	callq	_cpu_to_le16
	movq	%rax, 56(%rbx)
	movq	16(%rbx), %rax
	movq	_HostCmd_ACT_GEN_GET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.1:
	cmpl	$0, (%r14)
	jne	LBB0_2
## %bb.3:
	movq	_MWIFIEX_COEX_MODE_SPATIAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_MWIFIEX_COEX_MODE_TIMESHARE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 48(%rbx)
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HostCmd_CMD_ROBUST_COEX,4,2    ## @HostCmd_CMD_ROBUST_COEX
	.comm	_S_DS_GEN,4,2                   ## @S_DS_GEN
	.comm	_TLV_TYPE_ROBUST_COEX,4,2       ## @TLV_TYPE_ROBUST_COEX
	.comm	_HostCmd_ACT_GEN_GET,8,3        ## @HostCmd_ACT_GEN_GET
	.comm	_MWIFIEX_COEX_MODE_TIMESHARE,4,2 ## @MWIFIEX_COEX_MODE_TIMESHARE
	.comm	_MWIFIEX_COEX_MODE_SPATIAL,4,2  ## @MWIFIEX_COEX_MODE_SPATIAL
	.no_dead_strip	_mwifiex_cmd_robust_coex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cmd_robust_coex
_mwifiex_cmd_robust_coex:               ; @mwifiex_cmd_robust_coex
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _HostCmd_CMD_ROBUST_COEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_CMD_ROBUST_COEX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #8]
Lloh3:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w0, w8, #32
	bl	_cpu_to_le16
	str	x0, [x19]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [x19, #16]
Lloh6:
	adrp	x8, _TLV_TYPE_ROBUST_COEX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TLV_TYPE_ROBUST_COEX@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #64]
	mov	w0, #8
	bl	_cpu_to_le16
	str	x0, [x19, #56]
	ldr	x8, [x19, #16]
Lloh9:
	adrp	x9, _HostCmd_ACT_GEN_GET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HostCmd_ACT_GEN_GET@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _MWIFIEX_COEX_MODE_SPATIAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MWIFIEX_COEX_MODE_SPATIAL@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh14:
	adrp	x10, _MWIFIEX_COEX_MODE_TIMESHARE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _MWIFIEX_COEX_MODE_TIMESHARE@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x8, x10, eq
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x19, #48]
LBB0_2:
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HostCmd_CMD_ROBUST_COEX,4,2    ; @HostCmd_CMD_ROBUST_COEX
	.comm	_S_DS_GEN,4,2                   ; @S_DS_GEN
	.comm	_TLV_TYPE_ROBUST_COEX,4,2       ; @TLV_TYPE_ROBUST_COEX
	.comm	_HostCmd_ACT_GEN_GET,8,3        ; @HostCmd_ACT_GEN_GET
	.comm	_MWIFIEX_COEX_MODE_TIMESHARE,4,2 ; @MWIFIEX_COEX_MODE_TIMESHARE
	.comm	_MWIFIEX_COEX_MODE_SPATIAL,4,2  ; @MWIFIEX_COEX_MODE_SPATIAL
	.no_dead_strip	_mwifiex_cmd_robust_coex
.subsections_via_symbols
