	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wnm_sleep_mode_enter_success
_wnm_sleep_mode_enter_success:          ## @wnm_sleep_mode_enter_success
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_WNM_SLEEP_ENTER_CONFIRM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rdi), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wpa_drv_wnm_oper
	testq	%r14, %r14
	je	LBB0_4
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	cmpq	%r14, %rbx
	js	LBB0_4
## %bb.3:
	movslq	4(%rbx), %rax
	leaq	(%rbx,%rax,4), %rbx
	subq	%r14, %rbx
	addq	$8, %rbx
	shrq	$2, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	(%r15), %esi
	movq	_WNM_SLEEP_TFS_RESP_IE_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_ieee80211_11_set_tfs_ie
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WNM_SLEEP_ENTER_CONFIRM,4,2    ## @WNM_SLEEP_ENTER_CONFIRM
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TFS Resp IE(s) found"

	.comm	_WNM_SLEEP_TFS_RESP_IE_SET,4,2  ## @WNM_SLEEP_TFS_RESP_IE_SET
L_.str.1:                               ## @.str.1
	.asciz	"WNM: Fail to set TFS Resp IE"

	.no_dead_strip	_wnm_sleep_mode_enter_success
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wnm_sleep_mode_enter_success
_wnm_sleep_mode_enter_success:          ; @wnm_sleep_mode_enter_success
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _WNM_SLEEP_ENTER_CONFIRM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WNM_SLEEP_ENTER_CONFIRM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x0]
	mov	x3, #0
	mov	x4, #0
	bl	_wpa_drv_wnm_oper
	cbz	x19, LBB0_5
; %bb.1:
	cbz	x21, LBB0_5
; %bb.2:
	cmp	x21, x19
	b.mi	LBB0_5
; %bb.3:
	ldrsw	x8, [x21, #4]
	add	x8, x21, x8, lsl #2
	sub	x8, x8, x19
	add	x8, x8, #8
	lsr	x21, x8, #2
Lloh3:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w1, [x20]
Lloh7:
	adrp	x8, _WNM_SLEEP_TFS_RESP_IE_SET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WNM_SLEEP_TFS_RESP_IE_SET@GOTPAGEOFF]
Lloh9:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	x3, x21
	bl	_ieee80211_11_set_tfs_ie
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x22]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	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
	b	_wpa_printf
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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WNM_SLEEP_ENTER_CONFIRM,4,2    ; @WNM_SLEEP_ENTER_CONFIRM
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TFS Resp IE(s) found"

	.comm	_WNM_SLEEP_TFS_RESP_IE_SET,4,2  ; @WNM_SLEEP_TFS_RESP_IE_SET
l_.str.1:                               ; @.str.1
	.asciz	"WNM: Fail to set TFS Resp IE"

	.no_dead_strip	_wnm_sleep_mode_enter_success
.subsections_via_symbols
