	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfg80211_wext_siwretry
_cfg80211_wext_siwretry:                ## @cfg80211_wext_siwretry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	(%rdi), %r14
	movq	(%r14), %rdi
	callq	_wiphy_to_dev
	cmpq	$0, 16(%rbx)
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %ecx
	movq	_IW_RETRY_TYPE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	movq	_IW_RETRY_LIMIT@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_2
## %bb.3:
	movq	(%r14), %rdx
	movups	(%rdx), %xmm0
	movq	_IW_RETRY_LONG@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rcx
	movq	%rcx, (%rdx)
	movq	_WIPHY_PARAM_RETRY_LONG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	jmp	LBB0_8
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_IW_RETRY_SHORT@GOTPCREL(%rip), %rdi
	movq	8(%rbx), %rsi
	andl	(%rdi), %ecx
	movq	%rsi, 8(%rdx)
	je	LBB0_7
## %bb.6:
	movq	_WIPHY_PARAM_RETRY_SHORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	jmp	LBB0_8
LBB0_7:
	movq	%rsi, (%rdx)
	movq	_WIPHY_PARAM_RETRY_LONG@GOTPCREL(%rip), %rcx
	movq	_WIPHY_PARAM_RETRY_SHORT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
LBB0_8:
	xorl	%ebx, %ebx
	testl	%esi, %esi
	je	LBB0_11
## %bb.9:
	movaps	%xmm0, -32(%rbp)                ## 16-byte Spill
	movq	%rax, %rdi
	callq	_rdev_set_wiphy_params
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	(%r14), %rcx
	movaps	-32(%rbp), %xmm0                ## 16-byte Reload
	movups	%xmm0, (%rcx)
	movl	%eax, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_IW_RETRY_TYPE,4,2              ## @IW_RETRY_TYPE
	.comm	_IW_RETRY_LIMIT,4,2             ## @IW_RETRY_LIMIT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IW_RETRY_LONG,4,2              ## @IW_RETRY_LONG
	.comm	_WIPHY_PARAM_RETRY_LONG,4,2     ## @WIPHY_PARAM_RETRY_LONG
	.comm	_IW_RETRY_SHORT,4,2             ## @IW_RETRY_SHORT
	.comm	_WIPHY_PARAM_RETRY_SHORT,4,2    ## @WIPHY_PARAM_RETRY_SHORT
	.no_dead_strip	_cfg80211_wext_siwretry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfg80211_wext_siwretry
_cfg80211_wext_siwretry:                ; @cfg80211_wext_siwretry
	.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
	ldr	x20, [x0]
	ldr	x0, [x20]
	bl	_wiphy_to_dev
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_4
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IW_RETRY_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IW_RETRY_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh3:
	adrp	x10, _IW_RETRY_LIMIT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IW_RETRY_LIMIT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.2:
	ldr	x9, [x20]
	ldp	x21, x22, [x9]
Lloh6:
	adrp	x10, _IW_RETRY_LONG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IW_RETRY_LONG@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_6
; %bb.3:
	ldr	x8, [x19, #8]
	str	x8, [x9]
Lloh9:
	adrp	x8, _WIPHY_PARAM_RETRY_LONG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WIPHY_PARAM_RETRY_LONG@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	cbnz	w1, LBB0_8
	b	LBB0_11
LBB0_4:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
LBB0_6:
Lloh15:
	adrp	x10, _IW_RETRY_SHORT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IW_RETRY_SHORT@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x10]
	ldr	x10, [x19, #8]
	str	x10, [x9, #8]
	tst	w11, w8
	b.eq	LBB0_10
; %bb.7:
Lloh18:
	adrp	x8, _WIPHY_PARAM_RETRY_SHORT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WIPHY_PARAM_RETRY_SHORT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	cbz	w1, LBB0_11
LBB0_8:
	bl	_rdev_set_wiphy_params
	cbz	w0, LBB0_5
; %bb.9:
	ldr	x8, [x20]
	stp	x21, x22, [x8]
	b	LBB0_5
LBB0_10:
Lloh21:
	adrp	x8, _WIPHY_PARAM_RETRY_LONG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WIPHY_PARAM_RETRY_LONG@GOTPAGEOFF]
	str	x10, [x9]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _WIPHY_PARAM_RETRY_SHORT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _WIPHY_PARAM_RETRY_SHORT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w1, w9, w8
	cbnz	w1, LBB0_8
LBB0_11:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IW_RETRY_TYPE,4,2              ; @IW_RETRY_TYPE
	.comm	_IW_RETRY_LIMIT,4,2             ; @IW_RETRY_LIMIT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IW_RETRY_LONG,4,2              ; @IW_RETRY_LONG
	.comm	_WIPHY_PARAM_RETRY_LONG,4,2     ; @WIPHY_PARAM_RETRY_LONG
	.comm	_IW_RETRY_SHORT,4,2             ; @IW_RETRY_SHORT
	.comm	_WIPHY_PARAM_RETRY_SHORT,4,2    ; @WIPHY_PARAM_RETRY_SHORT
	.no_dead_strip	_cfg80211_wext_siwretry
.subsections_via_symbols
