	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ieee80211_request_smps       ## -- Begin function __ieee80211_request_smps
	.p2align	4, 0x90
___ieee80211_request_smps:              ## @__ieee80211_request_smps
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	addq	$24, %rdi
	callq	_lockdep_assert_held
	movl	(%r15), %r12d
	movl	%ebx, (%r15)
	xorl	%r14d, %r14d
	movq	_IEEE80211_SMPS_AUTOMATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %r12d
	jne	LBB0_2
## %bb.1:
	cmpl	%ebx, %eax
	jne	LBB0_11
LBB0_2:
	movq	16(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.3:
	movq	32(%r15), %rdx
	movq	_NL80211_CHAN_WIDTH_20_NOHT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_11
## %bb.4:
	movq	(%rcx), %rcx
	cmpl	%ebx, %eax
	jne	LBB0_9
## %bb.5:
	cmpq	$0, 8(%r15)
	je	LBB0_7
## %bb.6:
	movq	_IEEE80211_SMPS_DYNAMIC@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_IEEE80211_SMPS_OFF@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ebx
LBB0_9:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%rcx, %rdx
	callq	_ieee80211_send_smps_action
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%r12d, (%r15)
	movl	%eax, %r14d
LBB0_11:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_SMPS_AUTOMATIC,4,2   ## @IEEE80211_SMPS_AUTOMATIC
	.comm	_NL80211_CHAN_WIDTH_20_NOHT,8,3 ## @NL80211_CHAN_WIDTH_20_NOHT
	.comm	_IEEE80211_SMPS_DYNAMIC,4,2     ## @IEEE80211_SMPS_DYNAMIC
	.comm	_IEEE80211_SMPS_OFF,4,2         ## @IEEE80211_SMPS_OFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ieee80211_request_smps       ; -- Begin function __ieee80211_request_smps
	.p2align	2
___ieee80211_request_smps:              ; @__ieee80211_request_smps
	.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	x20, x1
	mov	x19, x0
	add	x0, x0, #24
	bl	_lockdep_assert_held
	ldr	w21, [x19]
	str	w20, [x19]
Lloh0:
	adrp	x8, _IEEE80211_SMPS_AUTOMATIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_SMPS_AUTOMATIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w21, w20
	ccmp	w8, w20, #4, eq
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	x10, [x19, #32]
Lloh3:
	adrp	x11, _NL80211_CHAN_WIDTH_20_NOHT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _NL80211_CHAN_WIDTH_20_NOHT@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_5
LBB0_3:
	mov	w0, #0
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	x2, [x9]
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _IEEE80211_SMPS_DYNAMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_SMPS_DYNAMIC@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh8:
	adrp	x8, _IEEE80211_SMPS_OFF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_SMPS_OFF@GOTPAGEOFF]
LBB0_9:
	ldr	w20, [x8]
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	mov	x3, x2
	bl	_ieee80211_send_smps_action
	cbz	w0, LBB0_4
; %bb.11:
	str	w21, [x19]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_SMPS_AUTOMATIC,4,2   ; @IEEE80211_SMPS_AUTOMATIC
	.comm	_NL80211_CHAN_WIDTH_20_NOHT,8,3 ; @NL80211_CHAN_WIDTH_20_NOHT
	.comm	_IEEE80211_SMPS_DYNAMIC,4,2     ; @IEEE80211_SMPS_DYNAMIC
	.comm	_IEEE80211_SMPS_OFF,4,2         ; @IEEE80211_SMPS_OFF
.subsections_via_symbols
