	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlme_event_remain_on_channel
_mlme_event_remain_on_channel:          ## @mlme_event_remain_on_channel
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	_NL80211_ATTR_WIPHY_FREQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdx,%rax,8), %rdi
	xorl	%r12d, %r12d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_nla_get_u32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_2:
	movq	_NL80211_ATTR_WIPHY_CHANNEL_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_nla_get_u32
	movl	%eax, %r12d
LBB0_4:
	movq	_NL80211_ATTR_DURATION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:
	callq	_nla_get_u32
	movl	%eax, %r13d
	jmp	LBB0_7
LBB0_5:
	xorl	%r13d, %r13d
LBB0_7:
	movq	_NL80211_ATTR_COOKIE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:
	callq	_nla_get_u64
	movq	%rax, %rbx
	jmp	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
LBB0_10:
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpq	(%r15), %rbx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rcx, %rax
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	%r13d, %r9d
	pushq	%rax
	pushq	%rbx
	callq	_wpa_printf
	addq	$16, %rsp
	cmpq	(%r15), %rbx
	jne	LBB0_17
## %bb.11:
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.12:
	movq	$0, 16(%r15)
LBB0_13:
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_os_memset
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -56(%rbp)
	movl	%r13d, -52(%rbp)
	movl	8(%r15), %edi
	testl	%r14d, %r14d
	jne	LBB0_14
## %bb.15:
	movq	_EVENT_REMAIN_ON_CHANNEL@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_EVENT_CANCEL_REMAIN_ON_CHANNEL@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_wpa_supplicant_event
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_WIPHY_FREQ,8,3    ## @NL80211_ATTR_WIPHY_FREQ
	.comm	_NL80211_ATTR_WIPHY_CHANNEL_TYPE,8,3 ## @NL80211_ATTR_WIPHY_CHANNEL_TYPE
	.comm	_NL80211_ATTR_DURATION,8,3      ## @NL80211_ATTR_DURATION
	.comm	_NL80211_ATTR_COOKIE,8,3        ## @NL80211_ATTR_COOKIE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nl80211: Remain-on-channel event (cancel=%d freq=%u channel_type=%u duration=%u cookie=0x%llx (%s))"

L_.str.1:                               ## @.str.1
	.asciz	"match"

L_.str.2:                               ## @.str.2
	.asciz	"unknown"

	.comm	_EVENT_CANCEL_REMAIN_ON_CHANNEL,4,2 ## @EVENT_CANCEL_REMAIN_ON_CHANNEL
	.comm	_EVENT_REMAIN_ON_CHANNEL,4,2    ## @EVENT_REMAIN_ON_CHANNEL
	.no_dead_strip	_mlme_event_remain_on_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlme_event_remain_on_channel
_mlme_event_remain_on_channel:          ; @mlme_event_remain_on_channel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _NL80211_ATTR_WIPHY_FREQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_ATTR_WIPHY_FREQ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x2, x8, lsl #3]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_nla_get_u32
	mov	x21, x0
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
Lloh3:
	adrp	x8, _NL80211_ATTR_WIPHY_CHANNEL_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_ATTR_WIPHY_CHANNEL_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x0, [x23, x8, lsl #3]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_nla_get_u32
	mov	x24, x0
	b	LBB0_6
LBB0_5:
	mov	w24, #0
LBB0_6:
Lloh6:
	adrp	x8, _NL80211_ATTR_DURATION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_ATTR_DURATION@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x0, [x23, x8, lsl #3]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_nla_get_u32
	mov	x22, x0
	b	LBB0_9
LBB0_8:
	mov	w22, #0
LBB0_9:
Lloh9:
	adrp	x8, _NL80211_ATTR_COOKIE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_ATTR_COOKIE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x0, [x23, x8, lsl #3]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_nla_get_u64
	mov	x23, x0
	b	LBB0_12
LBB0_11:
	mov	x23, #0
LBB0_12:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x20]
Lloh15:
	adrp	x9, l_.str.2@PAGE
Lloh16:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh17:
	adrp	x10, l_.str.1@PAGE
Lloh18:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x23, x8
	csel	x7, x10, x9, eq
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x21
	mov	x4, x24
	mov	x5, x22
	mov	x6, x23
	bl	_wpa_printf
	ldr	x8, [x20]
	cmp	x23, x8
	b.ne	LBB0_16
; %bb.13:
	cbz	w19, LBB0_15
; %bb.14:
	str	xzr, [x20, #16]
LBB0_15:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_os_memset
	stp	w21, w22, [sp, #8]
Lloh21:
	adrp	x8, _EVENT_CANCEL_REMAIN_ON_CHANNEL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EVENT_CANCEL_REMAIN_ON_CHANNEL@GOTPAGEOFF]
	ldr	w0, [x20, #8]
Lloh23:
	adrp	x9, _EVENT_REMAIN_ON_CHANNEL@GOTPAGE
Lloh24:
	ldr	x9, [x9, _EVENT_REMAIN_ON_CHANNEL@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_wpa_supplicant_event
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_WIPHY_FREQ,8,3    ; @NL80211_ATTR_WIPHY_FREQ
	.comm	_NL80211_ATTR_WIPHY_CHANNEL_TYPE,8,3 ; @NL80211_ATTR_WIPHY_CHANNEL_TYPE
	.comm	_NL80211_ATTR_DURATION,8,3      ; @NL80211_ATTR_DURATION
	.comm	_NL80211_ATTR_COOKIE,8,3        ; @NL80211_ATTR_COOKIE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nl80211: Remain-on-channel event (cancel=%d freq=%u channel_type=%u duration=%u cookie=0x%llx (%s))"

l_.str.1:                               ; @.str.1
	.asciz	"match"

l_.str.2:                               ; @.str.2
	.asciz	"unknown"

	.comm	_EVENT_CANCEL_REMAIN_ON_CHANNEL,4,2 ; @EVENT_CANCEL_REMAIN_ON_CHANNEL
	.comm	_EVENT_REMAIN_ON_CHANNEL,4,2    ; @EVENT_REMAIN_ON_CHANNEL
	.no_dead_strip	_mlme_event_remain_on_channel
.subsections_via_symbols
