	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_set_cqm_rssi
_nl80211_set_cqm_rssi:                  ## @nl80211_set_cqm_rssi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movl	%edx, %ecx
	movl	%esi, %edx
	movq	(%rdi), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_4
## %bb.5:
	movq	8(%rax), %rsi
	movq	8(%rsi), %rax
	movq	(%rax), %r8
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	je	LBB0_7
## %bb.6:
	movq	_NL80211_IFTYPE_P2P_CLIENT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	je	LBB0_7
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_7:
	popq	%rbp
	jmp	_rdev_set_cqm_rssi_config       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_P2P_CLIENT,8,3  ## @NL80211_IFTYPE_P2P_CLIENT
	.no_dead_strip	_nl80211_set_cqm_rssi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_set_cqm_rssi
_nl80211_set_cqm_rssi:                  ; @nl80211_set_cqm_rssi
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	x8, [x0]
	ldr	x0, [x8]
	ldr	x9, [x0]
	ldr	w9, [x9]
	cbz	w9, LBB0_5
; %bb.3:
	mov	x3, x2
	mov	x2, x1
	ldr	x1, [x8, #8]
	ldr	x8, [x1, #8]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _NL80211_IFTYPE_P2P_CLIENT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _NL80211_IFTYPE_P2P_CLIENT@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.4:
	b	_rdev_set_cqm_rssi_config
LBB0_5:
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_P2P_CLIENT,8,3  ; @NL80211_IFTYPE_P2P_CLIENT
	.no_dead_strip	_nl80211_set_cqm_rssi
.subsections_via_symbols
