	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cfg80211_set_wiphy_params
_mwifiex_cfg80211_set_wiphy_params:     ## @mwifiex_cfg80211_set_wiphy_params
	.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	%esi, %r12d
	movq	%rdi, %r15
	callq	_mwifiex_cfg80211_get_adapter
	movq	%rax, %r14
	movq	_MWIFIEX_BSS_ROLE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mwifiex_get_priv
	movq	%rax, %rbx
	movl	(%rax), %eax
	cmpl	$129, %eax
	je	LBB0_16
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_22
## %bb.2:
	cmpl	$0, 8(%rbx)
	je	LBB0_5
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_4
LBB0_16:
	cmpl	$0, 4(%rbx)
	je	LBB0_18
## %bb.17:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_4:
	movq	%r14, %rdi
	callq	_mwifiex_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_23
LBB0_5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_mwifiex_set_sys_config_invalid_data
	movq	_WIPHY_PARAM_RTS_THRESHOLD@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_10
## %bb.9:
	movl	4(%r15), %eax
	movl	%eax, 8(%r13)
LBB0_10:
	movq	_WIPHY_PARAM_FRAG_THRESHOLD@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_12
## %bb.11:
	movl	(%r15), %eax
	movl	%eax, 4(%r13)
LBB0_12:
	movq	_WIPHY_PARAM_RETRY_LONG@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_14
## %bb.13:
	movl	8(%r15), %eax
	movl	%eax, (%r13)
LBB0_14:
	movq	_HostCmd_CMD_UAP_SYS_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_UAP_BSS_PARAMS_I@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r13, %r8
	xorl	%r9d, %r9d
	callq	_mwifiex_send_cmd
	movq	%r13, %rdi
	movl	%eax, %r13d
	callq	_kfree
	testl	%r13d, %r13d
	je	LBB0_22
## %bb.15:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_mwifiex_dbg
	jmp	LBB0_23
LBB0_18:
	movq	_WIPHY_PARAM_RTS_THRESHOLD@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_20
## %bb.19:
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_mwifiex_set_rts
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_23
LBB0_20:
	movq	_WIPHY_PARAM_FRAG_THRESHOLD@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_22
## %bb.21:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_mwifiex_set_frag
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_23
LBB0_22:
	xorl	%r13d, %r13d
LBB0_23:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_BSS_ROLE_ANY,4,2       ## @MWIFIEX_BSS_ROLE_ANY
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot change wiphy params when bss started"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WIPHY_PARAM_RTS_THRESHOLD,4,2  ## @WIPHY_PARAM_RTS_THRESHOLD
	.comm	_WIPHY_PARAM_FRAG_THRESHOLD,4,2 ## @WIPHY_PARAM_FRAG_THRESHOLD
	.comm	_WIPHY_PARAM_RETRY_LONG,4,2     ## @WIPHY_PARAM_RETRY_LONG
	.comm	_HostCmd_CMD_UAP_SYS_CONFIG,4,2 ## @HostCmd_CMD_UAP_SYS_CONFIG
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
	.comm	_UAP_BSS_PARAMS_I,4,2           ## @UAP_BSS_PARAMS_I
L_.str.1:                               ## @.str.1
	.asciz	"Failed to set wiphy phy params\n"

L_.str.2:                               ## @.str.2
	.asciz	"cannot change wiphy params when connected"

	.no_dead_strip	_mwifiex_cfg80211_set_wiphy_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cfg80211_set_wiphy_params
_mwifiex_cfg80211_set_wiphy_params:     ; @mwifiex_cfg80211_set_wiphy_params
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x20, x0
	bl	_mwifiex_cfg80211_get_adapter
	mov	x19, x0
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
	ldr	w8, [x0]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_21
; %bb.2:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_8
; %bb.3:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_17
; %bb.5:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_mwifiex_dbg
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_22
LBB0_8:
Lloh15:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_kzalloc
	cbz	x0, LBB0_23
; %bb.9:
	mov	x23, x0
	bl	_mwifiex_set_sys_config_invalid_data
Lloh18:
	adrp	x8, _WIPHY_PARAM_RTS_THRESHOLD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WIPHY_PARAM_RTS_THRESHOLD@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.10:
	ldr	w8, [x20, #4]
	str	w8, [x23, #8]
LBB0_11:
Lloh21:
	adrp	x8, _WIPHY_PARAM_FRAG_THRESHOLD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WIPHY_PARAM_FRAG_THRESHOLD@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_13
; %bb.12:
	ldr	w8, [x20]
	str	w8, [x23, #4]
LBB0_13:
Lloh24:
	adrp	x8, _WIPHY_PARAM_RETRY_LONG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WIPHY_PARAM_RETRY_LONG@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_15
; %bb.14:
	ldr	w8, [x20, #8]
	str	w8, [x23]
LBB0_15:
Lloh27:
	adrp	x8, _HostCmd_CMD_UAP_SYS_CONFIG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HostCmd_CMD_UAP_SYS_CONFIG@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh31:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x8, _UAP_BSS_PARAMS_I@GOTPAGE
Lloh34:
	ldr	x8, [x8, _UAP_BSS_PARAMS_I@GOTPAGEOFF]
Lloh35:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x4, x23
	mov	w5, #0
	bl	_mwifiex_send_cmd
	mov	x24, x0
	mov	x0, x23
	bl	_kfree
	cbz	w24, LBB0_21
; %bb.16:
Lloh36:
	adrp	x8, _ERROR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x2, l_.str.1@PAGE
Lloh40:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	b	LBB0_22
LBB0_17:
Lloh41:
	adrp	x8, _WIPHY_PARAM_RTS_THRESHOLD@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WIPHY_PARAM_RTS_THRESHOLD@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_19
; %bb.18:
	ldr	w1, [x20, #4]
	mov	x0, x21
	bl	_mwifiex_set_rts
	mov	x24, x0
	cbnz	w0, LBB0_22
LBB0_19:
Lloh44:
	adrp	x8, _WIPHY_PARAM_FRAG_THRESHOLD@GOTPAGE
Lloh45:
	ldr	x8, [x8, _WIPHY_PARAM_FRAG_THRESHOLD@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_21
; %bb.20:
	ldr	w1, [x20]
	mov	x0, x21
	bl	_mwifiex_set_frag
	mov	x24, x0
	cbnz	w0, LBB0_22
LBB0_21:
	mov	w24, #0
LBB0_22:
	mov	x0, x24
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_23:
Lloh47:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_BSS_ROLE_ANY,4,2       ; @MWIFIEX_BSS_ROLE_ANY
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot change wiphy params when bss started"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WIPHY_PARAM_RTS_THRESHOLD,4,2  ; @WIPHY_PARAM_RTS_THRESHOLD
	.comm	_WIPHY_PARAM_FRAG_THRESHOLD,4,2 ; @WIPHY_PARAM_FRAG_THRESHOLD
	.comm	_WIPHY_PARAM_RETRY_LONG,4,2     ; @WIPHY_PARAM_RETRY_LONG
	.comm	_HostCmd_CMD_UAP_SYS_CONFIG,4,2 ; @HostCmd_CMD_UAP_SYS_CONFIG
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
	.comm	_UAP_BSS_PARAMS_I,4,2           ; @UAP_BSS_PARAMS_I
l_.str.1:                               ; @.str.1
	.asciz	"Failed to set wiphy phy params\n"

l_.str.2:                               ; @.str.2
	.asciz	"cannot change wiphy params when connected"

	.no_dead_strip	_mwifiex_cfg80211_set_wiphy_params
.subsections_via_symbols
