	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function awg_encap
_awg_encap:                             ## @awg_encap
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TX_MAX_SEGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$4, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	(%r15), %ecx
	movq	32(%r15), %rax
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movslq	%ecx, %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	shlq	$4, %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	8(%rax,%rdx), %esi
	movq	(%r13), %r12
	movl	40(%r15), %edi
	movq	_BUS_DMA_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-64(%rbp), %r8
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdx
	movq	%rbx, %r14
	movq	%rbx, %rcx
	callq	_bus_dmamap_load_mbuf_sg
	movl	%eax, %ebx
	movq	_EFBIG@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_5
## %bb.1:
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TX_MAX_SEGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_m_collapse
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, (%r13)
	movl	40(%r15), %edi
	movq	_BUS_DMA_NOWAIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	-64(%rbp), %r8
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdx
	movq	%r14, %rcx
	callq	_bus_dmamap_load_mbuf_sg
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movl	%eax, %ebx
	movq	(%r13), %rdi
	callq	_m_freem
	movq	$0, (%r13)
	jmp	LBB0_6
LBB0_5:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	je	LBB0_7
LBB0_6:
	movl	48(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_device_printf
	jmp	LBB0_25
LBB0_7:
	movslq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	addq	8(%r15), %rax
	movq	_TX_DESC_COUNT@GOTPCREL(%rip), %rcx
	movl	40(%r15), %edi
	cmpq	(%rcx), %rax
	jle	LBB0_11
## %bb.10:
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_bus_dmamap_unload
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_25
LBB0_2:
	movl	48(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_device_printf
	movq	(%r13), %rdi
	callq	_m_freem
	movq	$0, (%r13)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_25
LBB0_8:
	movq	(%r13), %rdi
	callq	_m_freem
	movq	$0, (%r13)
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_25
LBB0_11:
	movq	_BUS_DMASYNC_PREWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_bus_dmamap_sync
	movq	_TX_FIR_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	_CSUM_IP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.13:
	movq	_CSUM_TCP@GOTPCREL(%rip), %rcx
	movq	_CSUM_UDP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_14
## %bb.15:
	movq	_TX_CHECKSUM_CTL_IP@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_12:
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_17
LBB0_14:
	movq	_TX_CHECKSUM_CTL_FULL@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	movq	_TX_CHECKSUM_CTL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, -52(%rbp)                 ## 4-byte Folded Spill
LBB0_17:
	movl	-64(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_24
## %bb.18:
	addq	$8, %r14
	xorl	%r12d, %r12d
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r14, %r13
	movl	(%r14), %edi
	callq	_htole32
	movq	24(%r15), %rcx
	movslq	%ebx, %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	leaq	(,%rdx,8), %rdx
	movq	%r15, %r14
	leaq	(%rdx,%rdx,2), %r15
	movq	%rax, 16(%rcx,%r15)
	movl	-8(%r13), %edi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	orl	%ebx, %edi
	callq	_htole32
	movq	24(%r14), %rcx
	movq	%rax, 8(%rcx,%r15)
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_htole32
	movq	24(%r14), %rcx
	movq	%rax, (%rcx,%r15)
	movq	%r14, %r15
	movq	_TX_FIR_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	_TX_DESC_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	incq	8(%r14)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_TX_NEXT
	movl	%eax, %ebx
	incq	%r12
	movslq	-64(%rbp), %rax
	addq	$16, %r13
	movq	%r13, %r14
	cmpq	%rax, %r12
	jge	LBB0_24
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rcx
	incq	%rcx
	movq	%rcx, 16(%r15)
	decl	%eax
	cmpq	%rax, %r12
	jne	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	_TX_LAST_DESC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_awg_tx_interval@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	$0, 16(%r15)
	movq	_TX_INT_CTL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_22
LBB0_24:
	movl	%ebx, (%r15)
	movq	_TX_DESC_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	movl	%ebx, %edi
	callq	_TX_SKIP
	movq	32(%r15), %rcx
	cltq
	shlq	$4, %rax
	movl	8(%rcx,%rax), %edx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%edx, 8(%rcx,%rsi)
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 8(%rcx,%rax)
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%rcx,%rax)
	movq	_TX_DESC_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htole32
	movq	24(%r15), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rax, (%rcx,%rdx,8)
	xorl	%ebx, %ebx
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_MAX_SEGS,4,2                ## @TX_MAX_SEGS
	.comm	_BUS_DMA_NOWAIT,4,2             ## @BUS_DMA_NOWAIT
	.comm	_EFBIG,4,2                      ## @EFBIG
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"awg_encap: m_collapse failed\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"awg_encap: bus_dmamap_load_mbuf_sg failed\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_TX_DESC_COUNT,8,3              ## @TX_DESC_COUNT
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_BUS_DMASYNC_PREWRITE,4,2       ## @BUS_DMASYNC_PREWRITE
	.comm	_TX_FIR_DESC,4,2                ## @TX_FIR_DESC
	.comm	_CSUM_IP,4,2                    ## @CSUM_IP
	.comm	_CSUM_TCP,4,2                   ## @CSUM_TCP
	.comm	_CSUM_UDP,4,2                   ## @CSUM_UDP
	.comm	_TX_CHECKSUM_CTL_FULL,4,2       ## @TX_CHECKSUM_CTL_FULL
	.comm	_TX_CHECKSUM_CTL_IP,4,2         ## @TX_CHECKSUM_CTL_IP
	.comm	_TX_CHECKSUM_CTL_SHIFT,4,2      ## @TX_CHECKSUM_CTL_SHIFT
	.comm	_TX_LAST_DESC,4,2               ## @TX_LAST_DESC
	.comm	_awg_tx_interval,8,3            ## @awg_tx_interval
	.comm	_TX_INT_CTL,4,2                 ## @TX_INT_CTL
	.comm	_TX_DESC_CTL,4,2                ## @TX_DESC_CTL
	.no_dead_strip	_awg_encap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function awg_encap
_awg_encap:                             ; @awg_encap
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _TX_MAX_SEGS@GOTPAGE
Lloh4:
	ldr	x26, [x26, _TX_MAX_SEGS@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	x8, x8, #4
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x23, x9, x8
	mov	sp, x23
	ldr	w22, [x0]
	ldr	x8, [x0, #32]
	add	x8, x8, w22, sxtw #4
	ldr	w20, [x8, #8]
	ldr	x21, [x1]
	ldr	w0, [x0, #40]
Lloh7:
	adrp	x27, _BUS_DMA_NOWAIT@GOTPAGE
Lloh8:
	ldr	x27, [x27, _BUS_DMA_NOWAIT@GOTPAGEOFF]
	ldr	w5, [x27]
	sub	x4, x29, #92
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	bl	_bus_dmamap_load_mbuf_sg
Lloh9:
	adrp	x8, _EFBIG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.1:
Lloh12:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x26]
	mov	x0, x21
	bl	_m_collapse
	cbz	x0, LBB0_9
; %bb.2:
	mov	x21, x0
	str	x0, [x24]
	ldr	w0, [x19, #40]
	ldr	w5, [x27]
	sub	x4, x29, #92
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	bl	_bus_dmamap_load_mbuf_sg
	cbz	w0, LBB0_6
; %bb.3:
	mov	x25, x0
	ldr	x0, [x24]
	bl	_m_freem
	str	xzr, [x24]
	b	LBB0_5
LBB0_4:
	mov	x25, x0
	cbz	w0, LBB0_6
LBB0_5:
	ldr	w0, [x19, #48]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_device_printf
	b	LBB0_20
LBB0_6:
	ldursw	x8, [x29, #-92]
	cbz	w8, LBB0_10
; %bb.7:
	ldr	x9, [x19, #8]
Lloh17:
	adrp	x10, _TX_DESC_COUNT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _TX_DESC_COUNT@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	ldr	w0, [x19, #40]
	add	x8, x9, x8
	cmp	x8, x10
	b.le	LBB0_11
; %bb.8:
	mov	x1, x20
	bl	_bus_dmamap_unload
Lloh20:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh22:
	ldr	w25, [x8]
	b	LBB0_20
LBB0_9:
	ldr	w0, [x19, #48]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	bl	_device_printf
	ldr	x0, [x24]
	bl	_m_freem
	str	xzr, [x24]
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w25, [x8]
	b	LBB0_20
LBB0_10:
	ldr	x0, [x24]
	bl	_m_freem
	str	xzr, [x24]
Lloh28:
	adrp	x8, _EIO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh30:
	ldr	w25, [x8]
	b	LBB0_20
LBB0_11:
Lloh31:
	adrp	x8, _BUS_DMASYNC_PREWRITE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _BUS_DMASYNC_PREWRITE@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_bus_dmamap_sync
Lloh34:
	adrp	x8, _TX_FIR_DESC@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TX_FIR_DESC@GOTPAGEOFF]
Lloh36:
	ldr	w27, [x8]
	ldr	w8, [x21]
Lloh37:
	adrp	x9, _CSUM_IP@GOTPAGE
Lloh38:
	ldr	x9, [x9, _CSUM_IP@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh40:
	adrp	x9, _CSUM_TCP@GOTPAGE
Lloh41:
	ldr	x9, [x9, _CSUM_TCP@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
Lloh43:
	adrp	x10, _CSUM_UDP@GOTPAGE
Lloh44:
	ldr	x10, [x10, _CSUM_UDP@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh46:
	adrp	x10, _TX_CHECKSUM_CTL_IP@GOTPAGE
Lloh47:
	ldr	x10, [x10, _TX_CHECKSUM_CTL_IP@GOTPAGEOFF]
Lloh48:
	adrp	x11, _TX_CHECKSUM_CTL_FULL@GOTPAGE
Lloh49:
	ldr	x11, [x11, _TX_CHECKSUM_CTL_FULL@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
Lloh50:
	adrp	x9, _TX_CHECKSUM_CTL_SHIFT@GOTPAGE
Lloh51:
	ldr	x9, [x9, _TX_CHECKSUM_CTL_SHIFT@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w27, w8, w27
LBB0_13:
	sxtw	x8, w22
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	ldur	w8, [x29, #-92]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.14:
	mov	x28, #0
	mov	w24, #0
	add	x23, x23, #8
	mov	w26, #24
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x23]
	bl	_htole32
	ldr	x8, [x19, #24]
	smaddl	x8, w22, w26, x8
	smull	x25, w22, w26
	str	x0, [x8, #16]
	ldur	w8, [x23, #-8]
	orr	w0, w8, w27
	bl	_htole32
	ldr	x8, [x19, #24]
	smaddl	x8, w22, w26, x8
	str	x0, [x8, #8]
	mov	x0, x24
	bl	_htole32
	ldr	x8, [x19, #24]
	str	x0, [x8, x25]
Lloh53:
	adrp	x8, _TX_FIR_DESC@GOTPAGE
Lloh54:
	ldr	x8, [x8, _TX_FIR_DESC@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	bic	w27, w27, w8
Lloh56:
	adrp	x8, _TX_DESC_CTL@GOTPAGE
Lloh57:
	ldr	x8, [x8, _TX_DESC_CTL@GOTPAGEOFF]
Lloh58:
	ldr	w24, [x8]
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	mov	x0, x22
	bl	_TX_NEXT
	mov	x22, x0
	add	x28, x28, #1
	ldursw	x8, [x29, #-92]
	add	x23, x23, #16
	cmp	x28, x8
	b.ge	LBB0_19
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	add	x9, x9, #1
	str	x9, [x19, #16]
	sub	w8, w8, #1
	cmp	x28, x8
	b.ne	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh59:
	adrp	x8, _TX_LAST_DESC@GOTPAGE
Lloh60:
	ldr	x8, [x8, _TX_LAST_DESC@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	orr	w27, w8, w27
Lloh62:
	adrp	x8, _awg_tx_interval@GOTPAGE
Lloh63:
	ldr	x8, [x8, _awg_tx_interval@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	cmp	x9, x8
	b.lt	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	str	xzr, [x19, #16]
Lloh65:
	adrp	x8, _TX_INT_CTL@GOTPAGE
Lloh66:
	ldr	x8, [x8, _TX_INT_CTL@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	orr	w27, w8, w27
	b	LBB0_15
LBB0_19:
	str	w22, [x19]
Lloh68:
	adrp	x8, _TX_DESC_COUNT@GOTPAGE
Lloh69:
	ldr	x8, [x8, _TX_DESC_COUNT@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	sub	x1, x8, #1
	mov	x0, x22
	bl	_TX_SKIP
	ldr	x8, [x19, #32]
	add	x9, x8, w0, sxtw #4
	ldr	w10, [x9, #8]
	ldur	x22, [x29, #-104]               ; 8-byte Folded Reload
	add	x8, x8, x22, lsl #4
	str	w10, [x8, #8]
	str	w20, [x9, #8]
	str	x21, [x9]
Lloh71:
	adrp	x8, _TX_DESC_CTL@GOTPAGE
Lloh72:
	ldr	x8, [x8, _TX_DESC_CTL@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	bl	_htole32
	mov	w25, #0
	ldr	x8, [x19, #24]
	mov	w9, #24
	mul	x9, x22, x9
	str	x0, [x8, x9]
LBB0_20:
	ldur	x8, [x29, #-88]
Lloh74:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh75:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh76:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	mov	x0, x25
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_MAX_SEGS,4,2                ; @TX_MAX_SEGS
	.comm	_BUS_DMA_NOWAIT,4,2             ; @BUS_DMA_NOWAIT
	.comm	_EFBIG,4,2                      ; @EFBIG
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"awg_encap: m_collapse failed\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"awg_encap: bus_dmamap_load_mbuf_sg failed\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_TX_DESC_COUNT,8,3              ; @TX_DESC_COUNT
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_BUS_DMASYNC_PREWRITE,4,2       ; @BUS_DMASYNC_PREWRITE
	.comm	_TX_FIR_DESC,4,2                ; @TX_FIR_DESC
	.comm	_CSUM_IP,4,2                    ; @CSUM_IP
	.comm	_CSUM_TCP,4,2                   ; @CSUM_TCP
	.comm	_CSUM_UDP,4,2                   ; @CSUM_UDP
	.comm	_TX_CHECKSUM_CTL_FULL,4,2       ; @TX_CHECKSUM_CTL_FULL
	.comm	_TX_CHECKSUM_CTL_IP,4,2         ; @TX_CHECKSUM_CTL_IP
	.comm	_TX_CHECKSUM_CTL_SHIFT,4,2      ; @TX_CHECKSUM_CTL_SHIFT
	.comm	_TX_LAST_DESC,4,2               ; @TX_LAST_DESC
	.comm	_awg_tx_interval,8,3            ; @awg_tx_interval
	.comm	_TX_INT_CTL,4,2                 ; @TX_INT_CTL
	.comm	_TX_DESC_CTL,4,2                ; @TX_DESC_CTL
	.no_dead_strip	_awg_encap
.subsections_via_symbols
