	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __nl80211_unexpected_frame
___nl80211_unexpected_frame:            ## @__nl80211_unexpected_frame
	.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
	movl	%ecx, %r12d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	8(%rdi), %rbx
	movl	4(%rbx), %edi
	callq	_wiphy_to_dev
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_ACCESS_ONCE
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r15d
	movl	$100, %edi
	movl	%r12d, %esi
	callq	_nlmsg_new
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r14d, %r8d
	callq	_nl80211hdr_put
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r14
	movq	_NL80211_ATTR_WIPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movq	%r12, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	movq	_NL80211_ATTR_IFINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r12, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	movq	_NL80211_ATTR_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_nla_put
	testq	%rax, %rax
	je	LBB0_7
LBB0_9:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_genlmsg_cancel
LBB0_10:
	movq	%r12, %rdi
	callq	_nlmsg_free
	jmp	LBB0_11
LBB0_1:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_genlmsg_end
	testl	%eax, %eax
	js	LBB0_10
## %bb.8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_wiphy_net
	movl	%eax, %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_genlmsg_unicast
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_WIPHY,4,2         ## @NL80211_ATTR_WIPHY
	.comm	_NL80211_ATTR_IFINDEX,4,2       ## @NL80211_ATTR_IFINDEX
	.comm	_NL80211_ATTR_MAC,4,2           ## @NL80211_ATTR_MAC
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	___nl80211_unexpected_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __nl80211_unexpected_frame
___nl80211_unexpected_frame:            ; @__nl80211_unexpected_frame
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x22, x2
	mov	x24, x1
	mov	x23, x0
	ldr	x20, [x0, #8]
	ldr	w0, [x20, #4]
	bl	_wiphy_to_dev
	mov	x21, x0
	ldr	w0, [x20]
	bl	_ACCESS_ONCE
	cbz	w0, LBB0_9
; %bb.1:
	mov	x20, x0
	mov	w0, #100
	mov	x1, x19
	bl	_nlmsg_new
	cbz	x0, LBB0_8
; %bb.2:
	mov	x19, x0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	x4, x24
	bl	_nl80211hdr_put
	cbz	x0, LBB0_7
; %bb.3:
	mov	x24, x0
Lloh0:
	adrp	x8, _NL80211_ATTR_WIPHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_ATTR_WIPHY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x21, #4]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _NL80211_ATTR_IFINDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_ATTR_IFINDEX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _NL80211_ATTR_MAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_ATTR_MAC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x22
	bl	_nla_put
	cbz	x0, LBB0_10
LBB0_6:
	mov	x0, x19
	mov	x1, x24
	bl	_genlmsg_cancel
LBB0_7:
	mov	x0, x19
	bl	_nlmsg_free
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x19
	mov	x1, x24
	bl	_genlmsg_end
	tbnz	w0, #31, LBB0_7
; %bb.11:
	mov	x0, x21
	bl	_wiphy_net
	mov	x1, x19
	mov	x2, x20
	bl	_genlmsg_unicast
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_WIPHY,4,2         ; @NL80211_ATTR_WIPHY
	.comm	_NL80211_ATTR_IFINDEX,4,2       ; @NL80211_ATTR_IFINDEX
	.comm	_NL80211_ATTR_MAC,4,2           ; @NL80211_ATTR_MAC
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	___nl80211_unexpected_frame
.subsections_via_symbols
