	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_change_iface          ## -- Begin function cfg80211_change_iface
	.p2align	4, 0x90
_cfg80211_change_iface:                 ## @cfg80211_change_iface
	.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	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movl	(%rax), %r12d
	callq	_ASSERT_RDEV_LOCK
	cmpl	$137, %r12d
	je	LBB0_1
## %bb.3:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	cmpl	$133, %r14d
	je	LBB0_1
## %bb.4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.5:
	movq	%r14, %rbx
	movl	4(%rdi), %eax
	btl	%ebx, %eax
	jae	LBB0_1
## %bb.6:
	movq	%r12, %rdx
	movq	_IFF_BRIDGE_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, %r12
	testl	%eax, (%r15)
	je	LBB0_10
## %bb.7:
	leal	-131(%rbx), %eax
	cmpl	$8, %eax
	ja	LBB0_10
## %bb.8:
	movl	$265, %ecx                      ## imm = 0x109
	btl	%eax, %ecx
	jae	LBB0_10
## %bb.9:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_31:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rdx, %r14
	cmpl	%ebx, %r14d
	movq	%rsi, %r13
	movq	%rbx, %r15
	je	LBB0_19
## %bb.11:
	movq	%r12, %rdi
	callq	_netif_running
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_19
## %bb.12:
	movq	%rdi, %rbx
	callq	_mutex_lock
	movq	8(%r12), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_cfg80211_can_change_interface
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_mutex_unlock
	testl	%r13d, %r13d
	jne	LBB0_31
## %bb.13:
	movq	8(%r12), %rax
	movl	$0, 4(%rax)
	movq	$0, 8(%rax)
	leal	-131(%r14), %eax
	cmpl	$8, %eax
	ja	LBB0_18
## %bb.14:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	movq	_WLAN_REASON_DEAUTH_LEAVING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	$1, %ecx
	callq	_cfg80211_disconnect
	jmp	LBB0_18
LBB0_15:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cfg80211_stop_ap
	jmp	LBB0_18
LBB0_16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_cfg80211_leave_ibss
LBB0_18:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_cfg80211_process_rdev_events
	movq	%rbx, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_19:
	movq	%r12, %rsi
	movl	%r15d, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	callq	_rdev_change_virtual_intf
	testl	%eax, %eax
	je	LBB0_20
## %bb.32:
	movl	%eax, %r13d
	xorl	%edi, %edi
	callq	_WARN_ON
	jmp	LBB0_31
LBB0_20:
	movq	%r13, %rbx
	movq	8(%r12), %rax
	xorl	%edi, %edi
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	cmpl	%r15d, (%rax)
	setne	%dil
	callq	_WARN_ON
	testq	%r13, %r13
	je	LBB0_23
## %bb.21:
	movl	(%rbx), %eax
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.22:
	movq	8(%r12), %rcx
	movl	%eax, 4(%rcx)
LBB0_23:
	movq	_IFF_DONT_BRIDGE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r13d
	notl	%r13d
	movq	%r12, %rdi
	callq	_netdev_extended
	andl	%r13d, (%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$139, %ecx
	je	LBB0_27
## %bb.24:
	cmpl	$134, %ecx
	je	LBB0_27
## %bb.25:
	cmpl	$131, %ecx
	jne	LBB0_28
## %bb.26:
	movq	8(%r12), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_28
LBB0_27:
	movl	(%rbx), %r13d
	movq	%r12, %rdi
	callq	_netdev_extended
	orl	%r13d, (%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_28:
	xorl	%r13d, %r13d
	cmpl	%ecx, %r14d
	je	LBB0_31
## %bb.29:
	movq	%r12, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1, %edx
	callq	_cfg80211_update_iface_num
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$-1, %edx
	callq	_cfg80211_update_iface_num
	jmp	LBB0_31
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_15
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_IFF_BRIDGE_PORT,4,2            ## @IFF_BRIDGE_PORT
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_WLAN_REASON_DEAUTH_LEAVING,4,2 ## @WLAN_REASON_DEAUTH_LEAVING
	.comm	_IFF_DONT_BRIDGE,4,2            ## @IFF_DONT_BRIDGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_change_iface          ; -- Begin function cfg80211_change_iface
	.p2align	2
_cfg80211_change_iface:                 ; @cfg80211_change_iface
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x4
	mov	x24, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x1, #8]
	ldr	w20, [x8]
	bl	_ASSERT_RDEV_LOCK
	cmp	w20, #137
	b.eq	LBB0_8
; %bb.1:
	cmp	w21, #133
	b.eq	LBB0_8
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.3:
	ldr	w8, [x19, #4]
	lsr	w8, w8, w21
	tbz	w8, #0, LBB0_8
; %bb.4:
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _IFF_BRIDGE_PORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_BRIDGE_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.5:
	sub	w8, w21, #131
	cmp	w8, #8
	b.hi	LBB0_11
; %bb.6:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #265
	tst	w8, w9
	b.eq	LBB0_11
; %bb.7:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_10:
	mov	x0, x25
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	cmp	w20, w21
	b.eq	LBB0_20
; %bb.12:
	mov	x0, x22
	bl	_netif_running
	cbz	x0, LBB0_20
; %bb.13:
	mov	x0, x19
	bl	_mutex_lock
	ldr	x1, [x22, #8]
	mov	x0, x19
	mov	x2, x21
	bl	_cfg80211_can_change_interface
	mov	x25, x0
	mov	x0, x19
	bl	_mutex_unlock
	cbnz	w25, LBB0_10
; %bb.14:
	ldr	x8, [x22, #8]
	str	wzr, [x8, #4]
	str	xzr, [x8, #8]
	sub	w8, w20, #131
	cmp	w8, #8
	b.hi	LBB0_19
; %bb.15:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
Lloh9:
	adrp	x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	w3, #1
	bl	_cfg80211_disconnect
	b	LBB0_19
LBB0_17:
	mov	x0, x19
	mov	x1, x22
	bl	_cfg80211_stop_ap
	b	LBB0_19
LBB0_18:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_cfg80211_leave_ibss
LBB0_19:
	mov	x0, x19
	bl	_cfg80211_process_rdev_events
LBB0_20:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x24
	mov	x4, x23
	bl	_rdev_change_virtual_intf
	cbz	w0, LBB0_22
; %bb.21:
	mov	x25, x0
	mov	w0, #0
	bl	_WARN_ON
	b	LBB0_10
LBB0_22:
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	cmp	w8, w21
	cset	w0, ne
	bl	_WARN_ON
	cbz	x23, LBB0_25
; %bb.23:
	ldr	w8, [x23]
	cmn	w8, #1
	b.eq	LBB0_25
; %bb.24:
	ldr	x9, [x22, #8]
	str	w8, [x9, #4]
LBB0_25:
Lloh12:
	adrp	x23, _IFF_DONT_BRIDGE@GOTPAGE
Lloh13:
	ldr	x23, [x23, _IFF_DONT_BRIDGE@GOTPAGEOFF]
	ldr	w24, [x23]
	mov	x0, x22
	bl	_netdev_extended
	ldr	w8, [x0]
	bic	w8, w8, w24
	str	w8, [x0]
	cmp	w21, #139
	b.eq	LBB0_29
; %bb.26:
	cmp	w21, #134
	b.eq	LBB0_29
; %bb.27:
	cmp	w21, #131
	b.ne	LBB0_30
; %bb.28:
	ldr	x8, [x22, #8]
	ldr	w8, [x8, #4]
	cbnz	w8, LBB0_30
LBB0_29:
	ldr	w23, [x23]
	mov	x0, x22
	bl	_netdev_extended
	ldr	w8, [x0]
	orr	w8, w8, w23
	str	w8, [x0]
LBB0_30:
	cmp	w20, w21
	b.eq	LBB0_33
; %bb.31:
	mov	x0, x22
	bl	_netif_running
	cbz	x0, LBB0_33
; %bb.32:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_cfg80211_update_iface_num
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_cfg80211_update_iface_num
LBB0_33:
	mov	w25, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
	.byte	(LBB0_18-LBB0_16)>>2
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_IFF_BRIDGE_PORT,4,2            ; @IFF_BRIDGE_PORT
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_WLAN_REASON_DEAUTH_LEAVING,4,2 ; @WLAN_REASON_DEAUTH_LEAVING
	.comm	_IFF_DONT_BRIDGE,4,2            ; @IFF_DONT_BRIDGE
.subsections_via_symbols
