	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_send_layer2_update
_ieee80211_send_layer2_update:          ## @ieee80211_send_layer2_update
	.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	%rdi, %r14
	movl	$40, %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$40, %esi
	callq	_skb_put
	movq	%rax, %rbx
	movl	32(%rax), %edi
	callq	_eth_broadcast_addr
	movl	28(%rbx), %edi
	movl	8(%r14), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	$6, %edi
	callq	_htons
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movabsq	$751619276801, %rax             ## imm = 0xAF00000001
	movq	%rax, (%rbx)
	movq	8(%rbx), %rax
	movabsq	$4294967425, %rcx               ## imm = 0x100000081
	movq	%rcx, (%rax)
	movl	$0, 8(%rax)
	movq	(%r14), %rax
	movl	(%rax), %esi
	movl	%esi, 8(%r15)
	movq	%r15, %rdi
	callq	_eth_type_trans
	movl	%eax, 4(%r15)
	movl	(%r15), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_rx_ni                    ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_ieee80211_send_layer2_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ieee80211_send_layer2_update
lCPI0_0:
	.long	1                               ; 0x1
	.long	175                             ; 0xaf
lCPI0_1:
	.long	129                             ; 0x81
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ieee80211_send_layer2_update:          ; @ieee80211_send_layer2_update
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	mov	w0, #40
	bl	_dev_alloc_skb
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	mov	w1, #40
	bl	_skb_put
	mov	x21, x0
	ldr	w0, [x0, #32]
	bl	_eth_broadcast_addr
	ldr	w0, [x21, #28]
	ldr	w1, [x20, #8]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	mov	w0, #6
	bl	_htons
	str	w0, [x21, #24]
	str	xzr, [x21, #16]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21]
	ldr	x8, [x21, #8]
Lloh5:
	adrp	x9, lCPI0_1@PAGE
Lloh6:
	ldr	d0, [x9, lCPI0_1@PAGEOFF]
	str	d0, [x8]
	str	wzr, [x8, #8]
	ldr	x8, [x20]
	ldr	w1, [x8]
	str	w1, [x19, #8]
	mov	x0, x19
	bl	_eth_type_trans
	str	w0, [x19, #4]
	ldr	w0, [x19]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netif_rx_ni
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_ieee80211_send_layer2_update
.subsections_via_symbols
