	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_sta_opmode_change_event
_nl80211_sta_opmode_change_event:       ## @nl80211_sta_opmode_change_event
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_NL80211_ATTR_MAC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rsi,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %rbx
	movq	_NL80211_ATTR_CHANNEL_WIDTH@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	$0, (%rsi,%rax,8)
	jne	LBB0_4
## %bb.2:
	movq	_NL80211_ATTR_SMPS_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rbx,%rax,8)
	jne	LBB0_4
## %bb.3:
	movq	_NL80211_ATTR_NSS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_15
LBB0_4:
	movq	_SMPS_INVALID@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)
	movq	_CHAN_WIDTH_UNKNOWN@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)
	movl	$255, -72(%rbp)
	callq	_nla_data
	movl	%eax, -48(%rbp)
	movq	_NL80211_ATTR_SMPS_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.5:
	callq	_nla_get_u8
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_7
## %bb.6:
	cltq
	leaq	l_switch.table.nl80211_sta_opmode_change_event(%rip), %rcx
	movq	(%rcx,%rax,8), %r13
LBB0_7:
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)
LBB0_8:
	movq	(%r15), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.9:
	callq	_nla_get_u32
	addl	$-131, %eax
	cmpl	$5, %eax
	ja	LBB0_11
## %bb.10:
	cltq
	leaq	l_switch.table.nl80211_sta_opmode_change_event.1(%rip), %rcx
	movq	(%rcx,%rax,8), %r12
LBB0_11:
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)
LBB0_12:
	movq	_NL80211_ATTR_NSS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	callq	_nla_get_u8
	movl	%eax, -72(%rbp)
LBB0_14:
	movl	(%r14), %edi
	movq	_EVENT_STATION_OPMODE_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	callq	_wpa_supplicant_event
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_MAC,8,3           ## @NL80211_ATTR_MAC
	.comm	_NL80211_ATTR_CHANNEL_WIDTH,8,3 ## @NL80211_ATTR_CHANNEL_WIDTH
	.comm	_NL80211_ATTR_SMPS_MODE,8,3     ## @NL80211_ATTR_SMPS_MODE
	.comm	_NL80211_ATTR_NSS,8,3           ## @NL80211_ATTR_NSS
	.comm	_SMPS_INVALID,8,3               ## @SMPS_INVALID
	.comm	_CHAN_WIDTH_UNKNOWN,8,3         ## @CHAN_WIDTH_UNKNOWN
	.comm	_SMPS_OFF,8,3                   ## @SMPS_OFF
	.comm	_SMPS_STATIC,8,3                ## @SMPS_STATIC
	.comm	_SMPS_DYNAMIC,8,3               ## @SMPS_DYNAMIC
	.comm	_CHAN_WIDTH_20_NOHT,8,3         ## @CHAN_WIDTH_20_NOHT
	.comm	_CHAN_WIDTH_20,8,3              ## @CHAN_WIDTH_20
	.comm	_CHAN_WIDTH_40,8,3              ## @CHAN_WIDTH_40
	.comm	_CHAN_WIDTH_80,8,3              ## @CHAN_WIDTH_80
	.comm	_CHAN_WIDTH_80P80,8,3           ## @CHAN_WIDTH_80P80
	.comm	_CHAN_WIDTH_160,8,3             ## @CHAN_WIDTH_160
	.comm	_EVENT_STATION_OPMODE_CHANGED,4,2 ## @EVENT_STATION_OPMODE_CHANGED
	.no_dead_strip	_nl80211_sta_opmode_change_event
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.nl80211_sta_opmode_change_event
l_switch.table.nl80211_sta_opmode_change_event:
	.quad	_SMPS_STATIC
	.quad	_SMPS_OFF
	.quad	_SMPS_DYNAMIC

	.p2align	3                               ## @switch.table.nl80211_sta_opmode_change_event.1
l_switch.table.nl80211_sta_opmode_change_event.1:
	.quad	_CHAN_WIDTH_80P80
	.quad	_CHAN_WIDTH_80
	.quad	_CHAN_WIDTH_40
	.quad	_CHAN_WIDTH_20_NOHT
	.quad	_CHAN_WIDTH_20
	.quad	_CHAN_WIDTH_160

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_sta_opmode_change_event
_nl80211_sta_opmode_change_event:       ; @nl80211_sta_opmode_change_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
Lloh0:
	adrp	x8, _NL80211_ATTR_MAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_ATTR_MAC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x1, x8, lsl #3]
	cbz	x0, LBB0_17
; %bb.1:
	mov	x20, x1
Lloh3:
	adrp	x22, _NL80211_ATTR_CHANNEL_WIDTH@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NL80211_ATTR_CHANNEL_WIDTH@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x1, x8, lsl #3]
Lloh5:
	adrp	x23, _NL80211_ATTR_SMPS_MODE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NL80211_ATTR_SMPS_MODE@GOTPAGEOFF]
Lloh7:
	adrp	x21, _NL80211_ATTR_NSS@GOTPAGE
Lloh8:
	ldr	x21, [x21, _NL80211_ATTR_NSS@GOTPAGEOFF]
	cbnz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x23]
	ldr	x8, [x20, x8, lsl #3]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x21]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_17
LBB0_4:
Lloh9:
	adrp	x8, _SMPS_INVALID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SMPS_INVALID@GOTPAGEOFF]
Lloh11:
	adrp	x9, _CHAN_WIDTH_UNKNOWN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CHAN_WIDTH_UNKNOWN@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	ldr	x9, [x9]
	stp	x9, x8, [sp, #8]
	mov	w8, #255
	str	w8, [sp]
	bl	_nla_data
	str	w0, [sp, #24]
	ldr	x8, [x23]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_9
; %bb.5:
	bl	_nla_get_u8
	sub	w8, w0, #128
	cmp	w8, #2
	b.hi	LBB0_7
; %bb.6:
Lloh15:
	adrp	x9, l_switch.table.nl80211_sta_opmode_change_event@PAGE
Lloh16:
	add	x9, x9, l_switch.table.nl80211_sta_opmode_change_event@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_8
LBB0_7:
Lloh17:
	adrp	x8, _SMPS_INVALID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SMPS_INVALID@GOTPAGEOFF]
LBB0_8:
	ldr	x8, [x8]
	str	x8, [sp, #16]
LBB0_9:
	ldr	x8, [x22]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_14
; %bb.10:
	bl	_nla_get_u32
	sub	w8, w0, #131
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.11:
Lloh19:
	adrp	x9, l_switch.table.nl80211_sta_opmode_change_event.1@PAGE
Lloh20:
	add	x9, x9, l_switch.table.nl80211_sta_opmode_change_event.1@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_13
LBB0_12:
Lloh21:
	adrp	x8, _CHAN_WIDTH_UNKNOWN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CHAN_WIDTH_UNKNOWN@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x8]
	str	x8, [sp, #8]
LBB0_14:
	ldr	x8, [x21]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_16
; %bb.15:
	bl	_nla_get_u8
	str	w0, [sp]
LBB0_16:
	ldr	w0, [x19]
Lloh23:
	adrp	x8, _EVENT_STATION_OPMODE_CHANGED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EVENT_STATION_OPMODE_CHANGED@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_wpa_supplicant_event
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_MAC,8,3           ; @NL80211_ATTR_MAC
	.comm	_NL80211_ATTR_CHANNEL_WIDTH,8,3 ; @NL80211_ATTR_CHANNEL_WIDTH
	.comm	_NL80211_ATTR_SMPS_MODE,8,3     ; @NL80211_ATTR_SMPS_MODE
	.comm	_NL80211_ATTR_NSS,8,3           ; @NL80211_ATTR_NSS
	.comm	_SMPS_INVALID,8,3               ; @SMPS_INVALID
	.comm	_CHAN_WIDTH_UNKNOWN,8,3         ; @CHAN_WIDTH_UNKNOWN
	.comm	_SMPS_OFF,8,3                   ; @SMPS_OFF
	.comm	_SMPS_STATIC,8,3                ; @SMPS_STATIC
	.comm	_SMPS_DYNAMIC,8,3               ; @SMPS_DYNAMIC
	.comm	_CHAN_WIDTH_20_NOHT,8,3         ; @CHAN_WIDTH_20_NOHT
	.comm	_CHAN_WIDTH_20,8,3              ; @CHAN_WIDTH_20
	.comm	_CHAN_WIDTH_40,8,3              ; @CHAN_WIDTH_40
	.comm	_CHAN_WIDTH_80,8,3              ; @CHAN_WIDTH_80
	.comm	_CHAN_WIDTH_80P80,8,3           ; @CHAN_WIDTH_80P80
	.comm	_CHAN_WIDTH_160,8,3             ; @CHAN_WIDTH_160
	.comm	_EVENT_STATION_OPMODE_CHANGED,4,2 ; @EVENT_STATION_OPMODE_CHANGED
	.no_dead_strip	_nl80211_sta_opmode_change_event
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.nl80211_sta_opmode_change_event
l_switch.table.nl80211_sta_opmode_change_event:
	.quad	_SMPS_STATIC
	.quad	_SMPS_OFF
	.quad	_SMPS_DYNAMIC

	.p2align	3                               ; @switch.table.nl80211_sta_opmode_change_event.1
l_switch.table.nl80211_sta_opmode_change_event.1:
	.quad	_CHAN_WIDTH_80P80
	.quad	_CHAN_WIDTH_80
	.quad	_CHAN_WIDTH_40
	.quad	_CHAN_WIDTH_20_NOHT
	.quad	_CHAN_WIDTH_20
	.quad	_CHAN_WIDTH_160

.subsections_via_symbols
