	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cmd_uap_sys_config
_mwifiex_cmd_uap_sys_config:            ## @mwifiex_cmd_uap_sys_config
	.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
	movq	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_HostCmd_CMD_UAP_SYS_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le16
	movq	%rax, 16(%r12)
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	$16, %rbx
	movq	%r14, %rdi
	callq	_cpu_to_le16
	movq	%rax, 16(%r12)
	movq	8(%r12), %rdi
	movl	$-1, %r14d
	cmpl	$128, %r13d
	je	LBB0_3
## %bb.1:
	cmpl	$129, %r13d
	jne	LBB0_6
## %bb.2:
	movq	%rbx, -48(%rbp)
	leaq	-48(%rbp), %rbx
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_mwifiex_uap_bss_param_prepare
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, -48(%rbp)
	leaq	-48(%rbp), %rbx
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_mwifiex_uap_custom_ie_prepare
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:
	movq	(%rbx), %rdi
	callq	_cpu_to_le16
	movq	%rax, (%r12)
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HostCmd_CMD_UAP_SYS_CONFIG,8,3 ## @HostCmd_CMD_UAP_SYS_CONFIG
	.comm	_S_DS_GEN,8,3                   ## @S_DS_GEN
	.no_dead_strip	_mwifiex_cmd_uap_sys_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cmd_uap_sys_config
_mwifiex_cmd_uap_sys_config:            ; @mwifiex_cmd_uap_sys_config
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _HostCmd_CMD_UAP_SYS_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_CMD_UAP_SYS_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #16]
Lloh3:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x23, x8, #16
	mov	x0, x22
	bl	_cpu_to_le16
	str	x0, [x19, #16]
	ldr	x0, [x19, #8]
	cmp	w21, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w21, #129
	b.ne	LBB0_5
; %bb.2:
	str	x23, [sp, #8]
	add	x21, sp, #8
	add	x2, sp, #8
	mov	x1, x20
	bl	_mwifiex_uap_bss_param_prepare
	cbnz	w0, LBB0_5
LBB0_3:
	ldr	x0, [x21]
	bl	_cpu_to_le16
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_6
LBB0_4:
	str	x23, [sp, #8]
	add	x21, sp, #8
	add	x2, sp, #8
	mov	x1, x20
	bl	_mwifiex_uap_custom_ie_prepare
	cbz	w0, LBB0_3
LBB0_5:
	mov	w0, #-1
LBB0_6:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HostCmd_CMD_UAP_SYS_CONFIG,8,3 ; @HostCmd_CMD_UAP_SYS_CONFIG
	.comm	_S_DS_GEN,8,3                   ; @S_DS_GEN
	.no_dead_strip	_mwifiex_cmd_uap_sys_config
.subsections_via_symbols
