	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlme_event_ch_switch
_mlme_event_ch_switch:                  ## @mlme_event_ch_switch
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	24(%rbp), %eax
	movq	16(%rbp), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_25
## %bb.1:
	movq	%rbx, %rdi
	callq	_nla_get_u32
	movq	%rax, %rbx
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_get_bss_ifindex
	testq	%rax, %rax
	je	LBB0_26
## %bb.2:
	testq	%r15, %r15
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_nla_get_u32
	movq	%rax, %rbx
	movl	(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%r15d, %r15d
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	addl	$-128, %ebx
	movl	$1, %r12d
	cmpl	$3, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jae	LBB0_13
## %bb.4:
	movslq	%ebx, %rax
	leaq	l_switch.table.mlme_event_ch_switch(%rip), %rcx
	movl	(%rcx,%rax,4), %r15d
	leaq	l_switch.table.mlme_event_ch_switch.6(%rip), %rcx
	movl	(%rcx,%rax,4), %r12d
	jmp	LBB0_13
LBB0_26:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_5:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_11
## %bb.6:
	testq	%r14, %r14
	je	LBB0_11
## %bb.7:
	callq	_nla_get_u32
	movq	%rax, %r12
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_nla_get_u32
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_nla_get_u32
	movq	%rax, %r15
	testq	%r13, %r13
	je	LBB0_8
## %bb.9:
	movq	%r13, %rdi
	callq	_nla_get_u32
	movq	%rax, %rcx
	jmp	LBB0_10
LBB0_11:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_12
LBB0_8:
	xorl	%ecx, %ecx
LBB0_10:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_calculate_chan_offset
	movl	%eax, %r15d
LBB0_12:
	movl	$1, %r12d
LBB0_13:
	leaq	-136(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_os_memset
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_nla_get_u32
	movq	%rax, -128(%rbp)
	movl	%r12d, -136(%rbp)
	movl	%r15d, -132(%rbp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_nla_get_u32
	movq	%rax, %rdi
	callq	_convert2width
	movl	%eax, -104(%rbp)
LBB0_15:
	testq	%r14, %r14
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	_nla_get_u32
	movq	%rax, -112(%rbp)
LBB0_17:
	testq	%r13, %r13
	je	LBB0_19
## %bb.18:
	movq	%r13, %rdi
	callq	_nla_get_u32
	movq	%rax, -120(%rbp)
LBB0_19:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_21
## %bb.20:
	movq	-128(%rbp), %rax
	movq	%rax, 8(%rdx)
LBB0_21:
	movq	-128(%rbp), %rax
	movq	%rax, (%rbx)
	movl	(%rdx), %edi
	testl	%ecx, %ecx
	jne	LBB0_22
## %bb.23:
	movq	_EVENT_CH_SWITCH_STARTED@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_22:
	movq	_EVENT_CH_SWITCH@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %esi
	leaq	-136(%rbp), %rdx
	callq	_wpa_supplicant_event
LBB0_25:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nl80211: Channel switch%s event"

L_.str.1:                               ## @.str.1
	.space	1

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

	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
L_.str.3:                               ## @.str.3
	.asciz	"nl80211: Unknown ifindex (%d) for channel switch, ignoring"

L_.str.4:                               ## @.str.4
	.asciz	"nl80211: Channel type: %d"

L_.str.5:                               ## @.str.5
	.asciz	"nl80211: Unknown secondary channel information - following channel definition calculations may fail"

	.comm	_EVENT_CH_SWITCH,4,2            ## @EVENT_CH_SWITCH
	.comm	_EVENT_CH_SWITCH_STARTED,4,2    ## @EVENT_CH_SWITCH_STARTED
	.no_dead_strip	_mlme_event_ch_switch
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.mlme_event_ch_switch
l_switch.table.mlme_event_ch_switch:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	4294967295                      ## 0xffffffff

	.p2align	2                               ## @switch.table.mlme_event_ch_switch.6
l_switch.table.mlme_event_ch_switch.6:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	1                               ## 0x1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlme_event_ch_switch
_mlme_event_ch_switch:                  ; @mlme_event_ch_switch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x21, x6
	mov	x22, x5
	mov	x24, x4
	mov	x26, x3
	mov	x25, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x28, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x28]
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh4:
	adrp	x9, l_.str.2@PAGE
Lloh5:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w7, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	cbz	x25, LBB0_24
; %bb.1:
	mov	x0, x23
	bl	_nla_get_u32
	mov	x27, x0
	mov	x0, x20
	mov	x1, x27
	bl	_get_bss_ifindex
	cbz	x0, LBB0_5
; %bb.2:
	mov	x23, x0
	cbz	x26, LBB0_6
; %bb.3:
	mov	x0, x26
	bl	_nla_get_u32
	mov	x26, x0
	ldr	w0, [x28]
	str	x26, [sp]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	sub	w8, w26, #128
	cmp	w8, #3
	b.hs	LBB0_11
; %bb.4:
	sbfiz	x8, x8, #2, #32
Lloh10:
	adrp	x9, l_switch.table.mlme_event_ch_switch@PAGE
Lloh11:
	add	x9, x9, l_switch.table.mlme_event_ch_switch@PAGEOFF
	ldr	w26, [x9, x8]
Lloh12:
	adrp	x9, l_switch.table.mlme_event_ch_switch.6@PAGE
Lloh13:
	add	x9, x9, l_switch.table.mlme_event_ch_switch.6@PAGEOFF
	ldr	w27, [x9, x8]
	b	LBB0_15
LBB0_5:
Lloh14:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	str	x27, [sp]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	b	LBB0_24
LBB0_6:
	cbz	x24, LBB0_10
; %bb.7:
	cbz	x22, LBB0_10
; %bb.8:
	mov	x0, x24
	bl	_nla_get_u32
	mov	x26, x0
	mov	x0, x25
	bl	_nla_get_u32
	mov	x27, x0
	mov	x0, x22
	bl	_nla_get_u32
	mov	x28, x0
	cbz	x21, LBB0_12
; %bb.9:
	mov	x0, x21
	bl	_nla_get_u32
	mov	x3, x0
	b	LBB0_13
LBB0_10:
Lloh19:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
LBB0_11:
	mov	w26, #0
	b	LBB0_14
LBB0_12:
	mov	x3, #0
LBB0_13:
	mov	x0, x26
	mov	x1, x27
	mov	x2, x28
	bl	_calculate_chan_offset
	mov	x26, x0
LBB0_14:
	mov	w27, #1
LBB0_15:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_os_memset
	mov	x0, x25
	bl	_nla_get_u32
	str	x0, [sp, #16]
	stp	w27, w26, [sp, #8]
	cbz	x24, LBB0_17
; %bb.16:
	mov	x0, x24
	bl	_nla_get_u32
	bl	_convert2width
	str	w0, [sp, #40]
LBB0_17:
	cbz	x22, LBB0_19
; %bb.18:
	mov	x0, x22
	bl	_nla_get_u32
	str	x0, [sp, #32]
LBB0_19:
	cbz	x21, LBB0_21
; %bb.20:
	mov	x0, x21
	bl	_nla_get_u32
	str	x0, [sp, #24]
LBB0_21:
	cbz	w19, LBB0_23
; %bb.22:
	ldr	x8, [sp, #16]
	str	x8, [x23, #8]
LBB0_23:
	ldr	x8, [sp, #16]
	str	x8, [x20]
Lloh24:
	adrp	x8, _EVENT_CH_SWITCH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EVENT_CH_SWITCH@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh26:
	adrp	x9, _EVENT_CH_SWITCH_STARTED@GOTPAGE
Lloh27:
	ldr	x9, [x9, _EVENT_CH_SWITCH_STARTED@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_wpa_supplicant_event
LBB0_24:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nl80211: Channel switch%s event"

l_.str.1:                               ; @.str.1
	.space	1

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

	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
l_.str.3:                               ; @.str.3
	.asciz	"nl80211: Unknown ifindex (%d) for channel switch, ignoring"

l_.str.4:                               ; @.str.4
	.asciz	"nl80211: Channel type: %d"

l_.str.5:                               ; @.str.5
	.asciz	"nl80211: Unknown secondary channel information - following channel definition calculations may fail"

	.comm	_EVENT_CH_SWITCH,4,2            ; @EVENT_CH_SWITCH
	.comm	_EVENT_CH_SWITCH_STARTED,4,2    ; @EVENT_CH_SWITCH_STARTED
	.no_dead_strip	_mlme_event_ch_switch
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.mlme_event_ch_switch
l_switch.table.mlme_event_ch_switch:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff

	.p2align	2                               ; @switch.table.mlme_event_ch_switch.6
l_switch.table.mlme_event_ch_switch.6:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	1                               ; 0x1

.subsections_via_symbols
