	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_wext_siwrts           ## -- Begin function cfg80211_wext_siwrts
	.p2align	4, 0x90
_cfg80211_wext_siwrts:                  ## @cfg80211_wext_siwrts
	.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
	movq	(%rcx), %r15
	movq	$-1, %rdx
	cmpq	$0, 16(%rbx)
	je	LBB0_1
LBB0_4:
	movq	%rdx, (%rcx)
	movq	_WIPHY_PARAM_RTS_THRESHOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_rdev_set_wiphy_params
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	(%r14), %rcx
	movq	%r15, (%rcx)
	jmp	LBB0_7
LBB0_1:
	cmpl	$0, 8(%rbx)
	je	LBB0_4
## %bb.2:
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	jns	LBB0_4
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WIPHY_PARAM_RTS_THRESHOLD,4,2  ## @WIPHY_PARAM_RTS_THRESHOLD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_wext_siwrts           ; -- Begin function cfg80211_wext_siwrts
	.p2align	2
_cfg80211_wext_siwrts:                  ; @cfg80211_wext_siwrts
	.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	x21, [x8]
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_5
LBB0_1:
	mov	x9, #-1
LBB0_2:
	str	x9, [x8]
Lloh0:
	adrp	x8, _WIPHY_PARAM_RTS_THRESHOLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WIPHY_PARAM_RTS_THRESHOLD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rdev_set_wiphy_params
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	str	x21, [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, #8]
	cbz	w9, LBB0_1
; %bb.6:
	ldr	x9, [x19]
	tbz	x9, #63, LBB0_2
; %bb.7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WIPHY_PARAM_RTS_THRESHOLD,4,2  ; @WIPHY_PARAM_RTS_THRESHOLD
.subsections_via_symbols
