	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iflib_if_transmit
_iflib_if_transmit:                     ## @iflib_if_transmit
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, -48(%rbp)
	callq	_if_getsoftc
	movq	%rax, %r15
	movl	(%rax), %r14d
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_LINK_ACTIVE
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	jmp	LBB0_3
LBB0_2:
	movl	$1, %edi
LBB0_3:
	callq	___predict_false
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_tx_frees@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBG_COUNTER_INC
	movq	%r12, %rdi
	callq	_m_freem
	movq	_ENETDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_18
LBB0_5:
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	sete	%dil
	callq	_MPASS
	movq	%r15, %rdi
	callq	_NTXQSETS
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.6:
	movq	%r12, %rdi
	callq	_M_HASHTYPE_GET
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_ALTQ_IS_ENABLED
	testl	%eax, %eax
	je	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
LBB0_12:
	movq	8(%r15), %r15
	movq	_tx_seen@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBG_COUNTER_INC
	leaq	(%rbx,%rbx,2), %r13
	movl	(%r15,%r13,8), %edi
	movq	_TX_BATCH_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leaq	-48(%rbp), %rsi
	movl	$1, %edx
	movl	%r14d, %r8d
	callq	_ifmp_ring_enqueue
	movl	%eax, %ebx
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.13:
	leaq	(%r15,%r13,8), %rdi
	addq	$16, %rdi
	callq	_GROUPTASK_ENQUEUE
	testl	%ebx, %ebx
	jne	LBB0_17
	jmp	LBB0_19
LBB0_15:
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.16:
	leaq	(%r15,%r13,8), %rdi
	addq	$16, %rdi
	callq	_GROUPTASK_ENQUEUE
LBB0_17:
	leaq	(%r15,%r13,8), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_ifmp_ring_check_drainage
	movq	-48(%rbp), %rdi
	callq	_m_freem
	movq	_tx_frees@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBG_COUNTER_INC
	jmp	LBB0_18
LBB0_19:
	xorl	%ebx, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_QIDX
	movslq	%eax, %rbx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.comm	_tx_frees,4,2                   ## @tx_frees
	.comm	_ENETDOWN,4,2                   ## @ENETDOWN
	.comm	_tx_seen,4,2                    ## @tx_seen
	.comm	_TX_BATCH_SIZE,4,2              ## @TX_BATCH_SIZE
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_M_IFLIB,4,2                    ## @M_IFLIB
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_count,4,2                      ## @count
	.comm	_i,8,3                          ## @i
	.comm	_marr,8,3                       ## @marr
	.comm	_mp,8,3                         ## @mp
	.comm	_next,8,3                       ## @next
	.no_dead_strip	_iflib_if_transmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iflib_if_transmit
_iflib_if_transmit:                     ; @iflib_if_transmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x1
	mov	x22, x0
	str	x1, [sp, #8]
	bl	_if_getsoftc
	mov	x20, x0
	ldr	w19, [x0]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _IFF_DRV_RUNNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_LINK_ACTIVE
	cmp	w0, #0
	cset	w0, eq
	bl	___predict_false
	cbz	x0, LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _tx_frees@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tx_frees@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_DBG_COUNTER_INC
	mov	x0, x21
	bl	_m_freem
Lloh6:
	adrp	x8, _ENETDOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENETDOWN@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	b	LBB0_13
LBB0_3:
	mov	w0, #1
	bl	___predict_false
	cbnz	x0, LBB0_2
LBB0_4:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, eq
	bl	_MPASS
	mov	x0, x20
	bl	_NTXQSETS
	cmp	w0, #2
	b.lt	LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_M_HASHTYPE_GET
	cbz	x0, LBB0_7
; %bb.6:
	add	x0, x22, #4
	bl	_ALTQ_IS_ENABLED
	cbz	w0, LBB0_14
LBB0_7:
	mov	x21, #0
LBB0_8:
	ldr	x24, [x20, #8]
Lloh9:
	adrp	x8, _tx_seen@GOTPAGE
Lloh10:
	ldr	x8, [x8, _tx_seen@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_DBG_COUNTER_INC
	mov	w8, #24
	madd	x22, x21, x8, x24
	ldr	w0, [x22]
Lloh12:
	adrp	x23, _TX_BATCH_SIZE@GOTPAGE
Lloh13:
	ldr	x23, [x23, _TX_BATCH_SIZE@GOTPAGEOFF]
	ldr	w3, [x23]
	add	x1, sp, #8
	mov	w2, #1
	mov	x4, x19
	bl	_ifmp_ring_enqueue
	mov	x20, x0
	cbz	w19, LBB0_10
; %bb.9:
	mov	w8, #24
	madd	x8, x21, x8, x24
	add	x0, x8, #16
	bl	_GROUPTASK_ENQUEUE
	cbnz	w20, LBB0_12
	b	LBB0_13
LBB0_10:
	cbz	w20, LBB0_13
; %bb.11:
	mov	w8, #24
	madd	x8, x21, x8, x24
	add	x0, x8, #16
	bl	_GROUPTASK_ENQUEUE
LBB0_12:
	ldr	w0, [x22]
	ldr	w1, [x23]
	bl	_ifmp_ring_check_drainage
	ldr	x0, [sp, #8]
	bl	_m_freem
Lloh14:
	adrp	x8, _tx_frees@GOTPAGE
Lloh15:
	ldr	x8, [x8, _tx_frees@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_DBG_COUNTER_INC
LBB0_13:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_14:
	mov	x0, x20
	mov	x1, x21
	bl	_QIDX
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.comm	_tx_frees,4,2                   ; @tx_frees
	.comm	_ENETDOWN,4,2                   ; @ENETDOWN
	.comm	_tx_seen,4,2                    ; @tx_seen
	.comm	_TX_BATCH_SIZE,4,2              ; @TX_BATCH_SIZE
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_M_IFLIB,4,2                    ; @M_IFLIB
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_count,4,2                      ; @count
	.comm	_i,8,3                          ; @i
	.comm	_marr,8,3                       ; @marr
	.comm	_mp,8,3                         ; @mp
	.comm	_next,8,3                       ; @next
	.no_dead_strip	_iflib_if_transmit
.subsections_via_symbols
