	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_wiphy_netns
_nl80211_wiphy_netns:                   ## @nl80211_wiphy_netns
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_NL80211_ATTR_PID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movq	8(%rsi), %rax
	movq	(%rax), %r14
	callq	_nla_get_u32
	movl	%eax, %edi
	callq	_get_net_ns_by_pid
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_3:
	movq	%r14, %rdi
	callq	_wiphy_net
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_net_eq
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_cfg80211_switch_netns
	movl	%eax, %ebx
LBB0_5:
	movq	%r15, %rdi
	callq	_put_net
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_PID,8,3           ## @NL80211_ATTR_PID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nl80211_wiphy_netns
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_wiphy_netns
_nl80211_wiphy_netns:                   ; @nl80211_wiphy_netns
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _NL80211_ATTR_PID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_ATTR_PID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x1, #8]
	ldr	x20, [x8]
	bl	_nla_get_u32
	bl	_get_net_ns_by_pid
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_4:
	mov	x0, x20
	bl	_wiphy_net
	mov	x1, x19
	bl	_net_eq
	cbz	w0, LBB0_6
; %bb.5:
	mov	w20, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_cfg80211_switch_netns
	mov	x20, x0
LBB0_7:
	mov	x0, x19
	bl	_put_net
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_PID,8,3           ; @NL80211_ATTR_PID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nl80211_wiphy_netns
.subsections_via_symbols
