	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function queue_userspace_packet
_queue_userspace_packet:                ## @queue_userspace_packet
	.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	%rcx, %r12
	movq	%rdx, %rbx
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_vlan_tx_tag_present
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_clone
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_vlan_tx_tag_get
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	___vlan_put_tag
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %rbx
	movq	$0, 8(%rax)
	movq	%rax, %r15
	jmp	LBB0_6
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_1:
	xorl	%r15d, %r15d
LBB0_6:
	movl	(%rbx), %edi
	callq	_nla_attr_size
	movq	_USHORT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_9
## %bb.7:
	movq	_EFBIG@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_9:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_upcall_msg_size
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_genlmsg_new
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r14
	movl	20(%r12), %r9d
	movq	_dp_packet_genl_family@GOTPCREL(%rip), %rcx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_genlmsg_put
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, (%rax)
	movq	_OVS_PACKET_ATTR_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nla_nest_start
	movq	%rax, %r13
	movl	16(%r12), %edi
	movq	%r14, %rsi
	callq	_ovs_flow_to_nlattrs
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_nla_nest_end
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	movq	_OVS_PACKET_ATTR_USERDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_nla_len
	movl	%eax, %r13d
	movq	8(%r12), %rdi
	callq	_nla_data
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	___nla_put
LBB0_13:
	movq	_OVS_PACKET_ATTR_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	___nla_reserve
	movq	%rax, %rdi
	callq	_nla_data
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_copy_and_csum_dev
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_genlmsg_end
	movl	(%r12), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_genlmsg_unicast
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movq	%r15, %rdi
	callq	_kfree_skb
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_USHORT_MAX,8,3                 ## @USHORT_MAX
	.comm	_EFBIG,4,2                      ## @EFBIG
	.comm	_dp_packet_genl_family,4,2      ## @dp_packet_genl_family
	.comm	_OVS_PACKET_ATTR_KEY,4,2        ## @OVS_PACKET_ATTR_KEY
	.comm	_OVS_PACKET_ATTR_USERDATA,4,2   ## @OVS_PACKET_ATTR_USERDATA
	.comm	_OVS_PACKET_ATTR_PACKET,4,2     ## @OVS_PACKET_ATTR_PACKET
	.no_dead_strip	_queue_userspace_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function queue_userspace_packet
_queue_userspace_packet:                ; @queue_userspace_packet
	.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, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	mov	x0, x2
	bl	_vlan_tx_tag_present
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_skb_clone
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	bl	_vlan_tx_tag_get
	mov	x1, x0
	mov	x0, x21
	bl	___vlan_put_tag
	cbz	x0, LBB0_4
; %bb.3:
	mov	x22, x0
	str	xzr, [x0, #8]
	mov	x21, x0
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_15
LBB0_5:
	mov	x21, #0
LBB0_6:
	ldr	w0, [x22]
	bl	_nla_attr_size
Lloh6:
	adrp	x8, _USHORT_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _USHORT_MAX@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _EFBIG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
	ldr	x1, [x19, #8]
	mov	x0, x22
	bl	_upcall_msg_size
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_genlmsg_new
	cbz	x0, LBB0_12
; %bb.9:
	mov	x24, x0
	ldr	w5, [x19, #20]
Lloh14:
	adrp	x3, _dp_packet_genl_family@GOTPAGE
Lloh15:
	ldr	x3, [x3, _dp_packet_genl_family@GOTPAGEOFF]
	mov	w1, #0
	mov	w2, #0
	mov	w4, #0
	bl	_genlmsg_put
	mov	x25, x0
	str	w23, [x0]
Lloh16:
	adrp	x8, _OVS_PACKET_ATTR_KEY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OVS_PACKET_ATTR_KEY@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_nla_nest_start
	mov	x23, x0
	ldr	w0, [x19, #16]
	mov	x1, x24
	bl	_ovs_flow_to_nlattrs
	mov	x0, x24
	mov	x1, x23
	bl	_nla_nest_end
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.10:
Lloh19:
	adrp	x8, _OVS_PACKET_ATTR_USERDATA@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OVS_PACKET_ATTR_USERDATA@GOTPAGEOFF]
Lloh21:
	ldr	w23, [x8]
	bl	_nla_len
	mov	x26, x0
	ldr	x0, [x19, #8]
	bl	_nla_data
	mov	x3, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x26
	bl	___nla_put
LBB0_11:
Lloh22:
	adrp	x8, _OVS_PACKET_ATTR_PACKET@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OVS_PACKET_ATTR_PACKET@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x24
	bl	___nla_reserve
	bl	_nla_data
	mov	x1, x0
	mov	x0, x22
	bl	_skb_copy_and_csum_dev
	mov	x0, x24
	mov	x1, x25
	bl	_genlmsg_end
	ldr	w2, [x19]
	mov	x0, x20
	mov	x1, x24
	bl	_genlmsg_unicast
	mov	x19, x0
	b	LBB0_14
LBB0_12:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_14:
	mov	x0, x21
	bl	_kfree_skb
LBB0_15:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_USHORT_MAX,8,3                 ; @USHORT_MAX
	.comm	_EFBIG,4,2                      ; @EFBIG
	.comm	_dp_packet_genl_family,4,2      ; @dp_packet_genl_family
	.comm	_OVS_PACKET_ATTR_KEY,4,2        ; @OVS_PACKET_ATTR_KEY
	.comm	_OVS_PACKET_ATTR_USERDATA,4,2   ; @OVS_PACKET_ATTR_USERDATA
	.comm	_OVS_PACKET_ATTR_PACKET,4,2     ; @OVS_PACKET_ATTR_PACKET
	.no_dead_strip	_queue_userspace_packet
.subsections_via_symbols
