	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prism2_sta_send_mgmt           ## -- Begin function prism2_sta_send_mgmt
	.p2align	4, 0x90
_prism2_sta_send_mgmt:                  ## @prism2_sta_send_mgmt
	.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, %rbx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_IEEE80211_MGMT_HDR_LEN@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	%r8, %rdi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rsi
	movq	%rax, %rdi
	callq	_skb_put_zero
	movq	%rax, %r15
	movq	_IEEE80211_FTYPE_MGMT@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movl	%eax, 12(%r15)
	movl	8(%r15), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r13, %rsi
	callq	_memcpy
	movl	4(%r15), %edi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rsi
	movl	(%rbx), %edx
	callq	_memcpy
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movq	%r13, %rsi
	callq	_memcpy
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_skb_put_data
LBB0_4:
	movq	8(%r14), %rbx
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_HOSTAP_SKB_TX_DATA_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%r12, %rdi
	callq	_netdev_priv
	movl	%eax, (%rbx)
	movq	%r12, (%r14)
	movq	%r14, %rdi
	callq	_skb_reset_mac_header
	movq	%r14, %rdi
	callq	_skb_reset_network_header
	movq	%r14, %rdi
	callq	_dev_queue_xmit
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MGMT_HDR_LEN,8,3     ## @IEEE80211_MGMT_HDR_LEN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ## @IEEE80211_FTYPE_MGMT
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_HOSTAP_SKB_TX_DATA_MAGIC,4,2   ## @HOSTAP_SKB_TX_DATA_MAGIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prism2_sta_send_mgmt           ; -- Begin function prism2_sta_send_mgmt
	.p2align	2
_prism2_sta_send_mgmt:                  ; @prism2_sta_send_mgmt
	.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	x21, x4
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x25, _IEEE80211_MGMT_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IEEE80211_MGMT_HDR_LEN@GOTPAGEOFF]
	ldr	x8, [x25]
	add	x0, x8, x4
	bl	_dev_alloc_skb
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x1, [x25]
	bl	_skb_put_zero
	mov	x25, x0
Lloh2:
	adrp	x8, _IEEE80211_FTYPE_MGMT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_FTYPE_MGMT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w0, w8, w24
	bl	_cpu_to_le16
	str	w0, [x25, #12]
	ldr	w0, [x25, #8]
Lloh5:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x1, x23
	bl	_memcpy
	ldr	w0, [x25, #4]
	ldr	x1, [x20]
	ldr	w2, [x24]
	bl	_memcpy
	ldr	w0, [x25]
	ldr	w2, [x24]
	mov	x1, x23
	bl	_memcpy
	cbz	x22, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_skb_put_data
LBB0_3:
	ldr	x21, [x19, #8]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh7:
	adrp	x8, _HOSTAP_SKB_TX_DATA_MAGIC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HOSTAP_SKB_TX_DATA_MAGIC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x21, #4]
	mov	x0, x20
	bl	_netdev_priv
	str	w0, [x21]
	str	x20, [x19]
	mov	x0, x19
	bl	_skb_reset_mac_header
	mov	x0, x19
	bl	_skb_reset_network_header
	mov	x0, x19
	bl	_dev_queue_xmit
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MGMT_HDR_LEN,8,3     ; @IEEE80211_MGMT_HDR_LEN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ; @IEEE80211_FTYPE_MGMT
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_HOSTAP_SKB_TX_DATA_MAGIC,4,2   ; @HOSTAP_SKB_TX_DATA_MAGIC
.subsections_via_symbols
