	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xmit_skb
_xmit_skb:                              ## @xmit_skb
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$2, %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r14, %rdi
	callq	_skb_vnet_hdr
	movq	%rax, %r12
	movq	32(%r14), %rax
	movq	(%rax), %r13
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$2, %esi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_sg_init_table
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_pr_debug
	movq	(%r14), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_VIRTIO_NET_HDR_F_NEEDS_CSUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
	movq	24(%r14), %rbx
	movq	%r14, %rdi
	callq	_skb_headroom
	subq	%rax, %rbx
	movq	16(%r14), %rax
	jmp	LBB0_3
LBB0_2:
	movq	$0, 56(%r12)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
LBB0_3:
	movq	%rbx, 40(%r12)
	movq	%rax, 48(%r12)
	movq	%r14, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	movq	%r14, %rdi
	callq	_skb_headlen
	movq	%rax, 16(%r12)
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rax
	movq	%rax, 24(%r12)
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	_SKB_GSO_TCPV4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.5:
	movq	_VIRTIO_NET_HDR_GSO_TCPV4@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_14:
	movq	_VIRTIO_NET_HDR_GSO_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r12)
	jmp	LBB0_15
LBB0_7:
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	_SKB_GSO_TCPV6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_VIRTIO_NET_HDR_GSO_TCPV6@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	_SKB_GSO_UDP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_11
## %bb.10:
	movq	_VIRTIO_NET_HDR_GSO_UDP@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
LBB0_12:
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	_SKB_GSO_TCP_ECN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.13:
	movq	_VIRTIO_NET_HDR_GSO_ECN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%r12)
LBB0_15:
	leaq	64(%r12), %rax
	movq	$0, 64(%r12)
	movq	%r12, %rsi
	addq	$8, %rsi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	cmpq	$0, 8(%r15)
	cmovneq	%rax, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$56, %edx
	callq	_sg_set_buf
	movq	%rbx, %rsi
	addq	$4, %rsi
	movl	8(%r14), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_skb_to_sgvec
	leaq	1(%rax), %rdx
	movq	%rdx, (%r12)
	movl	(%r15), %edi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_virtqueue_add_buf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_12
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SKB_FRAGS,4,2              ## @MAX_SKB_FRAGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: xmit %p %pM\n"

	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_VIRTIO_NET_HDR_F_NEEDS_CSUM,8,3 ## @VIRTIO_NET_HDR_F_NEEDS_CSUM
	.comm	_SKB_GSO_TCPV4,4,2              ## @SKB_GSO_TCPV4
	.comm	_VIRTIO_NET_HDR_GSO_TCPV4,4,2   ## @VIRTIO_NET_HDR_GSO_TCPV4
	.comm	_SKB_GSO_TCPV6,4,2              ## @SKB_GSO_TCPV6
	.comm	_VIRTIO_NET_HDR_GSO_TCPV6,4,2   ## @VIRTIO_NET_HDR_GSO_TCPV6
	.comm	_SKB_GSO_UDP,4,2                ## @SKB_GSO_UDP
	.comm	_VIRTIO_NET_HDR_GSO_UDP,4,2     ## @VIRTIO_NET_HDR_GSO_UDP
	.comm	_SKB_GSO_TCP_ECN,4,2            ## @SKB_GSO_TCP_ECN
	.comm	_VIRTIO_NET_HDR_GSO_ECN,4,2     ## @VIRTIO_NET_HDR_GSO_ECN
	.comm	_VIRTIO_NET_HDR_GSO_NONE,4,2    ## @VIRTIO_NET_HDR_GSO_NONE
	.no_dead_strip	_xmit_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xmit_skb
_xmit_skb:                              ; @xmit_skb
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x24, _MAX_SKB_FRAGS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MAX_SKB_FRAGS@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #2
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	x0, x1
	bl	_skb_vnet_hdr
	mov	x22, x0
	ldr	x8, [x19, #32]
	ldr	x23, [x8]
	ldr	w8, [x24]
	add	w1, w8, #2
	mov	x0, x21
	bl	_sg_init_table
	ldr	x8, [x20, #16]
	ldr	w1, [x8]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x23
	bl	_pr_debug
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _VIRTIO_NET_HDR_F_NEEDS_CSUM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VIRTIO_NET_HDR_F_NEEDS_CSUM@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x22, #56]
	ldr	x23, [x19, #24]
	mov	x0, x19
	bl	_skb_headroom
	sub	x8, x23, x0
	ldr	x9, [x19, #16]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
	mov	x9, #0
	str	xzr, [x22, #56]
LBB0_3:
	stp	x8, x9, [x22, #40]
	mov	x0, x19
	bl	_skb_is_gso
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_skb_headlen
	str	x0, [x22, #16]
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	str	x8, [x22, #24]
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh15:
	adrp	x9, _SKB_GSO_TCPV4@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SKB_GSO_TCPV4@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
Lloh18:
	adrp	x8, _VIRTIO_NET_HDR_GSO_TCPV4@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VIRTIO_NET_HDR_GSO_TCPV4@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
Lloh20:
	adrp	x8, _VIRTIO_NET_HDR_GSO_NONE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VIRTIO_NET_HDR_GSO_NONE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x22, #32]
	stp	xzr, xzr, [x22, #16]
	b	LBB0_14
LBB0_7:
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh23:
	adrp	x9, _SKB_GSO_TCPV6@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SKB_GSO_TCPV6@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh26:
	adrp	x8, _VIRTIO_NET_HDR_GSO_TCPV6@GOTPAGE
Lloh27:
	ldr	x8, [x8, _VIRTIO_NET_HDR_GSO_TCPV6@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh28:
	adrp	x9, _SKB_GSO_UDP@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SKB_GSO_UDP@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.10:
Lloh31:
	adrp	x8, _VIRTIO_NET_HDR_GSO_UDP@GOTPAGE
Lloh32:
	ldr	x8, [x8, _VIRTIO_NET_HDR_GSO_UDP@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	str	w8, [x22, #32]
LBB0_12:
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh33:
	adrp	x9, _SKB_GSO_TCP_ECN@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SKB_GSO_TCP_ECN@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
Lloh36:
	adrp	x8, _VIRTIO_NET_HDR_GSO_ECN@GOTPAGE
Lloh37:
	ldr	x8, [x8, _VIRTIO_NET_HDR_GSO_ECN@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	w9, [x22, #32]
	orr	w8, w9, w8
	str	w8, [x22, #32]
LBB0_14:
	mov	x8, x22
	str	xzr, [x8, #64]!
	ldr	x9, [x20, #8]
	add	x10, x22, #8
	cmp	x9, #0
	csel	x1, x10, x8, eq
	mov	x0, x21
	mov	w2, #56
	bl	_sg_set_buf
	add	x1, x21, #4
	ldr	w3, [x19, #8]
	mov	x0, x19
	mov	w2, #0
	bl	_skb_to_sgvec
	add	x2, x0, #1
	str	x2, [x22]
	ldr	w0, [x20]
	mov	x1, x21
	mov	w3, #0
	mov	x4, x19
	bl	_virtqueue_add_buf
	ldur	x8, [x29, #-56]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.15:
	sub	sp, x29, #48
	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_16:
	bl	_BUG
	b	LBB0_12
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SKB_FRAGS,4,2              ; @MAX_SKB_FRAGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: xmit %p %pM\n"

	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_VIRTIO_NET_HDR_F_NEEDS_CSUM,8,3 ; @VIRTIO_NET_HDR_F_NEEDS_CSUM
	.comm	_SKB_GSO_TCPV4,4,2              ; @SKB_GSO_TCPV4
	.comm	_VIRTIO_NET_HDR_GSO_TCPV4,4,2   ; @VIRTIO_NET_HDR_GSO_TCPV4
	.comm	_SKB_GSO_TCPV6,4,2              ; @SKB_GSO_TCPV6
	.comm	_VIRTIO_NET_HDR_GSO_TCPV6,4,2   ; @VIRTIO_NET_HDR_GSO_TCPV6
	.comm	_SKB_GSO_UDP,4,2                ; @SKB_GSO_UDP
	.comm	_VIRTIO_NET_HDR_GSO_UDP,4,2     ; @VIRTIO_NET_HDR_GSO_UDP
	.comm	_SKB_GSO_TCP_ECN,4,2            ; @SKB_GSO_TCP_ECN
	.comm	_VIRTIO_NET_HDR_GSO_ECN,4,2     ; @VIRTIO_NET_HDR_GSO_ECN
	.comm	_VIRTIO_NET_HDR_GSO_NONE,4,2    ; @VIRTIO_NET_HDR_GSO_NONE
	.no_dead_strip	_xmit_skb
.subsections_via_symbols
