	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txq_init
_txq_init:                              ## @txq_init
	.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	%rdi, %r14
	movq	24(%rdi), %r15
	movslq	%esi, %rax
	imulq	$56, %rax, %r12
	movl	%eax, (%r15,%r12)
	movl	(%rdi), %ebx
	movl	%ebx, 4(%r15,%r12)
	shll	$4, %ebx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r15,%r12)
	movq	$0, 48(%r15,%r12)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	4(%r14), %esi
	cmpl	%esi, %ebx
	jle	LBB0_2
LBB0_3:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	leaq	(%r15,%r12), %rdx
	addq	$16, %rdx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %esi
	callq	_dma_alloc_coherent
	movq	%rax, 24(%r15,%r12)
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	leaq	(%r15,%r12), %r14
	addq	$4, %r14
	xorl	%r13d, %r13d
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movl	%ebx, 8(%r15,%r12)
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.7:
	movq	24(%r15,%r12), %rax
	movabsq	$68719476720, %r9               ## imm = 0xFFFFFFFF0
	movq	16(%r15,%r12), %rdx
	cmpl	$1, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
## %bb.8:
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_2:
	movq	16(%r14), %rdi
	callq	_ioremap
	movq	%rax, 24(%r15,%r12)
	movq	16(%r14), %rcx
	movq	%rcx, 16(%r15,%r12)
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rsi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	callq	_dev_printk
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_14
LBB0_9:
	movl	%ecx, %r13d
	andl	$-2, %r13d
	leaq	-1(%rcx), %r10
	leaq	-2(%rcx), %r11
	movl	$16, %r8d
	xorl	%esi, %esi
	leaq	-16(%r9), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r8, %rbx
	andq	%r9, %rbx
	cmpq	%rdi, %r10
	movq	$0, -8(%rax,%r8)
	cmoveq	%rsi, %rbx
	addq	%rdx, %rbx
	movq	%rbx, -16(%rax,%r8)
	leaq	2(%rdi), %r14
	leaq	16(%r8), %rbx
	andq	%rcx, %rbx
	cmpq	%rdi, %r11
	movq	$0, 8(%rax,%r8)
	cmoveq	%rsi, %rbx
	addq	%rdx, %rbx
	movq	%rbx, (%rax,%r8)
	addq	$32, %r8
	movq	%r14, %rdi
	cmpq	%r14, %r13
	jne	LBB0_10
LBB0_11:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testb	$1, %bl
	movl	$0, %r13d
	je	LBB0_13
## %bb.12:
	leaq	1(%r14), %rcx
	shlq	$4, %r14
	movq	%rcx, %rsi
	shlq	$4, %rsi
	andq	%r9, %rsi
	xorl	%edi, %edi
	cmpq	%rbx, %rcx
	movq	$0, 8(%rax,%r14)
	cmovneq	%rsi, %rdi
	addq	%rdi, %rdx
	movq	%rdx, (%rax,%r14)
LBB0_13:
	leaq	(%r15,%r12), %rdi
	addq	$12, %rdi
	callq	_skb_queue_head_init
LBB0_14:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't allocate tx ring (%d bytes)\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_txq_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function txq_init
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_txq_init:                              ; @txq_init
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x20, x0
	ldr	x21, [x0, #24]
	sxtw	x22, w1
	mov	w8, #56
	smaddl	x23, w1, w8, x21
	str	w1, [x23]
	ldr	w8, [x0]
	stp	xzr, xzr, [x23, #40]
	str	xzr, [x23, #32]
	str	w8, [x23, #4]!
	lsl	w19, w8, #4
	cbnz	w1, LBB0_2
; %bb.1:
	ldr	w1, [x20, #4]
	cmp	w19, w1
	b.le	LBB0_6
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	mov	w8, #56
	madd	x24, x22, x8, x21
	add	x2, x24, #16
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x1, x19
	bl	_dma_alloc_coherent
	str	x0, [x24, #24]
	cbz	x0, LBB0_7
LBB0_3:
	mov	w8, #56
	madd	x20, x22, x8, x21
	mov	w1, #0
	mov	x2, x19
	bl	_memset
	str	w19, [x20, #8]
	ldr	w10, [x23]
	cmp	w10, #1
	b.lt	LBB0_13
; %bb.4:
	ldr	x8, [x20, #24]
	mov	w9, #56
	madd	x9, x22, x9, x21
	ldr	x9, [x9, #16]
	cmp	w10, #8
	b.hs	LBB0_8
; %bb.5:
	mov	x11, #0
	b	LBB0_11
LBB0_6:
	ldr	x0, [x20, #16]
	bl	_ioremap
	mov	w8, #56
	ldr	x9, [x20, #16]
	madd	x8, x22, x8, x21
	stp	x9, x0, [x8, #16]
	cbnz	x0, LBB0_3
LBB0_7:
Lloh3:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x1, [x20, #8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_dev_printk
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_8:
	dup.2d	v0, x10
	dup.2d	v1, x9
	and	x11, x10, #0xfffffff8
	add	x12, x8, #64
	mov	w13, #1
	dup.2d	v2, x13
	mov	w13, #3
	dup.2d	v3, x13
	mov	w13, #5
	dup.2d	v4, x13
	mov	w13, #7
	dup.2d	v5, x13
	mov	x13, #68719476720
	dup.2d	v6, x13
Lloh11:
	adrp	x13, lCPI0_0@PAGE
Lloh12:
	ldr	q7, [x13, lCPI0_0@PAGEOFF]
	movi.2d	v17, #0000000000000000
	mov	w13, #8
	dup.2d	v18, x13
	mov	x13, x11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add.2d	v19, v7, v2
	add.2d	v20, v7, v3
	add.2d	v21, v7, v4
	add.2d	v22, v7, v5
	cmeq.2d	v23, v19, v0
	cmeq.2d	v24, v20, v0
	cmeq.2d	v25, v21, v0
	cmeq.2d	v26, v22, v0
	shl.2d	v19, v19, #4
	shl.2d	v20, v20, #4
	shl.2d	v21, v21, #4
	shl.2d	v22, v22, #4
	bic.16b	v19, v19, v23
	bic.16b	v20, v20, v24
	bic.16b	v21, v21, v25
	bic.16b	v22, v22, v26
	and.16b	v19, v19, v6
	and.16b	v20, v20, v6
	and.16b	v21, v21, v6
	and.16b	v22, v22, v6
	add.2d	v16, v1, v19
	add.2d	v19, v1, v20
	mov.16b	v20, v17
	add.2d	v23, v1, v21
	sub	x14, x12, #64
	st2.2d	{ v16, v17 }, [x14]
	mov.16b	v24, v17
	sub	x14, x12, #32
	st2.2d	{ v19, v20 }, [x14]
	add	x14, x12, #128
	st2.2d	{ v23, v24 }, [x12], #32
	add.2d	v19, v1, v22
	mov.16b	v20, v17
	st2.2d	{ v19, v20 }, [x12]
	add.2d	v7, v7, v18
	mov	x12, x14
	subs	x13, x13, #8
	b.ne	LBB0_9
; %bb.10:
	cmp	x11, x10
	b.eq	LBB0_13
LBB0_11:
	sub	x10, x10, x11
	lsl	x11, x11, #4
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x12, x8, x11
	add	x11, x11, #16
	and	x13, x11, #0xffffffff0
	subs	x10, x10, #1
	csel	x13, xzr, x13, eq
	add	x13, x9, x13
	stp	x13, xzr, [x12]
	cbnz	x10, LBB0_12
LBB0_13:
	mov	w8, #56
	madd	x8, x22, x8, x21
	add	x0, x8, #12
	bl	_skb_queue_head_init
	mov	w0, #0
LBB0_14:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't allocate tx ring (%d bytes)\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_txq_init
.subsections_via_symbols
