	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_wext_siwfrag          ## -- Begin function cfg80211_wext_siwfrag
	.p2align	4, 0x90
_cfg80211_wext_siwfrag:                 ## @cfg80211_wext_siwfrag
	.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, %rbx
	movq	(%rdi), %r14
	movq	(%r14), %rdi
	callq	_wiphy_to_dev
	movq	(%r14), %rcx
	movl	(%rcx), %r15d
	movl	$-1, %edx
	cmpq	$0, 8(%rbx)
	je	LBB0_1
LBB0_5:
	movl	%edx, (%rcx)
	movq	_WIPHY_PARAM_FRAG_THRESHOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_rdev_set_wiphy_params
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	(%r14), %rcx
	movl	%r15d, (%rcx)
	jmp	LBB0_8
LBB0_1:
	cmpl	$0, 4(%rbx)
	je	LBB0_5
## %bb.2:
	movl	(%rbx), %edx
	cmpl	$255, %edx
	jg	LBB0_4
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	andl	$-2, %edx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WIPHY_PARAM_FRAG_THRESHOLD,4,2 ## @WIPHY_PARAM_FRAG_THRESHOLD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_wext_siwfrag          ; -- Begin function cfg80211_wext_siwfrag
	.p2align	2
_cfg80211_wext_siwfrag:                 ; @cfg80211_wext_siwfrag
	.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, [x20]
	ldr	w21, [x8]
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_5
LBB0_1:
	mov	w9, #-1
LBB0_2:
	str	w9, [x8]
Lloh0:
	adrp	x8, _WIPHY_PARAM_FRAG_THRESHOLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WIPHY_PARAM_FRAG_THRESHOLD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rdev_set_wiphy_params
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	str	w21, [x8]
LBB0_4:
	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_5:
	ldr	w9, [x19, #4]
	cbz	w9, LBB0_1
; %bb.6:
	ldr	w9, [x19]
	cmp	w9, #255
	b.gt	LBB0_8
; %bb.7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_8:
	and	w9, w9, #0xfffffffe
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WIPHY_PARAM_FRAG_THRESHOLD,4,2 ; @WIPHY_PARAM_FRAG_THRESHOLD
.subsections_via_symbols
