	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_pre_doit
_nl80211_pre_doit:                      ## @nl80211_pre_doit
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %r15d
	movq	_NL80211_FLAG_NEED_RTNL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r15d, %eax
	testl	%r15d, %r13d
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_rtnl_lock
	movl	(%rbx), %eax
LBB0_2:
	movq	_NL80211_FLAG_NEED_WIPHY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.3:
	movq	%r14, %rdi
	callq	_genl_info_net
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_cfg80211_get_dev_from_info
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_31
## %bb.4:
	testl	%r15d, %r13d
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_rtnl_unlock
LBB0_6:
	movq	%rbx, %rdi
	jmp	LBB0_7
LBB0_8:
	movq	_NL80211_FLAG_NEED_NETDEV@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_10
## %bb.9:
	movq	_NL80211_FLAG_NEED_WDEV@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_32
LBB0_10:
	movq	_cfg80211_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	callq	_genl_info_net
	movl	8(%r14), %esi
	movl	%eax, %edi
	callq	___cfg80211_wdev_from_attrs
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	_cfg80211_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	testl	%r15d, %r13d
	je	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_rtnl_unlock
LBB0_13:
	movq	%r12, %rdi
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_14:
	movq	8(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %edi
	callq	_wiphy_to_dev
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movq	_NL80211_FLAG_NEED_NETDEV@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.15:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.20:
	movq	(%r14), %rcx
	movq	%rbx, 8(%rcx)
	jmp	LBB0_22
LBB0_21:
	movq	(%r14), %rcx
	movq	%r12, 8(%rcx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_27
LBB0_22:
	movq	_NL80211_FLAG_CHECK_NETDEV_UP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.23:
	movq	%rbx, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_24
LBB0_29:
	movq	%rbx, %rdi
	callq	_dev_hold
LBB0_30:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_cfg80211_lock_rdev
	movq	_cfg80211_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
LBB0_31:
	movq	(%r14), %rax
	movq	%rbx, (%rax)
LBB0_32:
	xorl	%eax, %eax
LBB0_33:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_cfg80211_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	testl	%r15d, %r13d
	je	LBB0_18
## %bb.17:
	xorl	%eax, %eax
	callq	_rtnl_unlock
LBB0_18:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_27:
	movq	_NL80211_FLAG_CHECK_NETDEV_UP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.28:
	cmpl	$0, (%r12)
	jne	LBB0_30
LBB0_24:
	movq	_cfg80211_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	testl	%r15d, %r13d
	je	LBB0_26
## %bb.25:
	xorl	%eax, %eax
	callq	_rtnl_unlock
LBB0_26:
	movq	_ENETDOWN@GOTPCREL(%rip), %rcx
LBB0_19:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_FLAG_NEED_RTNL,4,2     ## @NL80211_FLAG_NEED_RTNL
	.comm	_NL80211_FLAG_NEED_WIPHY,4,2    ## @NL80211_FLAG_NEED_WIPHY
	.comm	_NL80211_FLAG_NEED_NETDEV,4,2   ## @NL80211_FLAG_NEED_NETDEV
	.comm	_NL80211_FLAG_NEED_WDEV,4,2     ## @NL80211_FLAG_NEED_WDEV
	.comm	_cfg80211_mutex,4,2             ## @cfg80211_mutex
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_FLAG_CHECK_NETDEV_UP,4,2 ## @NL80211_FLAG_CHECK_NETDEV_UP
	.comm	_ENETDOWN,4,2                   ## @ENETDOWN
	.no_dead_strip	_nl80211_pre_doit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_pre_doit
_nl80211_pre_doit:                      ; @nl80211_pre_doit
	.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	x19, x2
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _NL80211_FLAG_NEED_RTNL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_FLAG_NEED_RTNL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ands	w24, w9, w8
	b.eq	LBB0_2
; %bb.1:
	bl	_rtnl_lock
	ldr	w8, [x20]
LBB0_2:
Lloh3:
	adrp	x9, _NL80211_FLAG_NEED_WIPHY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NL80211_FLAG_NEED_WIPHY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_genl_info_net
	mov	x1, x19
	bl	_cfg80211_get_dev_from_info
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.4:
	cbz	w24, LBB0_6
; %bb.5:
	bl	_rtnl_unlock
LBB0_6:
	mov	x0, x20
	b	LBB0_13
LBB0_7:
Lloh6:
	adrp	x25, _NL80211_FLAG_NEED_NETDEV@GOTPAGE
Lloh7:
	ldr	x25, [x25, _NL80211_FLAG_NEED_NETDEV@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.8:
Lloh8:
	adrp	x9, _NL80211_FLAG_NEED_WDEV@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NL80211_FLAG_NEED_WDEV@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
LBB0_9:
Lloh11:
	adrp	x0, _cfg80211_mutex@GOTPAGE
Lloh12:
	ldr	x0, [x0, _cfg80211_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	mov	x0, x19
	bl	_genl_info_net
	ldr	w1, [x19, #8]
	bl	___cfg80211_wdev_from_attrs
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.10:
Lloh13:
	adrp	x0, _cfg80211_mutex@GOTPAGE
Lloh14:
	ldr	x0, [x0, _cfg80211_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	cbz	w24, LBB0_12
; %bb.11:
	bl	_rtnl_unlock
LBB0_12:
	mov	x0, x22
LBB0_13:
	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
	b	_PTR_ERR
LBB0_14:
	ldr	x8, [x19]
	str	x20, [x8]
	b	LBB0_33
LBB0_15:
	ldr	x23, [x22, #8]
	ldr	w0, [x22, #4]
	bl	_wiphy_to_dev
	mov	x21, x0
	ldr	w8, [x20]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.16:
	cbz	x23, LBB0_24
; %bb.17:
	ldr	x9, [x19]
	str	x23, [x9, #8]
	b	LBB0_20
LBB0_18:
	mov	w0, #0
	b	LBB0_33
LBB0_19:
	ldr	x9, [x19]
	str	x22, [x9, #8]
	cbz	x23, LBB0_27
LBB0_20:
Lloh15:
	adrp	x9, _NL80211_FLAG_CHECK_NETDEV_UP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NL80211_FLAG_CHECK_NETDEV_UP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
	mov	x0, x23
	bl	_netif_running
	cbz	w0, LBB0_29
LBB0_22:
	mov	x0, x23
	bl	_dev_hold
LBB0_23:
	mov	x0, x21
	bl	_cfg80211_lock_rdev
Lloh18:
	adrp	x0, _cfg80211_mutex@GOTPAGE
Lloh19:
	ldr	x0, [x0, _cfg80211_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	w0, #0
	ldr	x8, [x19]
	str	x21, [x8]
	b	LBB0_33
LBB0_24:
Lloh20:
	adrp	x0, _cfg80211_mutex@GOTPAGE
Lloh21:
	ldr	x0, [x0, _cfg80211_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	cbz	w24, LBB0_26
; %bb.25:
	bl	_rtnl_unlock
LBB0_26:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_32
LBB0_27:
Lloh24:
	adrp	x9, _NL80211_FLAG_CHECK_NETDEV_UP@GOTPAGE
Lloh25:
	ldr	x9, [x9, _NL80211_FLAG_CHECK_NETDEV_UP@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.28:
	ldr	w8, [x22]
	cbnz	w8, LBB0_23
LBB0_29:
Lloh27:
	adrp	x0, _cfg80211_mutex@GOTPAGE
Lloh28:
	ldr	x0, [x0, _cfg80211_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	cbz	w24, LBB0_31
; %bb.30:
	bl	_rtnl_unlock
LBB0_31:
Lloh29:
	adrp	x8, _ENETDOWN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENETDOWN@GOTPAGEOFF]
LBB0_32:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_33:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_FLAG_NEED_RTNL,4,2     ; @NL80211_FLAG_NEED_RTNL
	.comm	_NL80211_FLAG_NEED_WIPHY,4,2    ; @NL80211_FLAG_NEED_WIPHY
	.comm	_NL80211_FLAG_NEED_NETDEV,4,2   ; @NL80211_FLAG_NEED_NETDEV
	.comm	_NL80211_FLAG_NEED_WDEV,4,2     ; @NL80211_FLAG_NEED_WDEV
	.comm	_cfg80211_mutex,4,2             ; @cfg80211_mutex
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_FLAG_CHECK_NETDEV_UP,4,2 ; @NL80211_FLAG_CHECK_NETDEV_UP
	.comm	_ENETDOWN,4,2                   ; @ENETDOWN
	.no_dead_strip	_nl80211_pre_doit
.subsections_via_symbols
