	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function fv_dma_alloc
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_fv_dma_alloc:                          ## @fv_dma_alloc
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_bus_get_dma_tag
	movq	_BUS_SPACE_MAXADDR_32BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_BUS_SPACE_MAXADDR@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	movq	_BUS_SPACE_MAXSIZE_32BIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	leaq	76(%r14), %rsi
	movq	%rsi, 56(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsp)
	movl	%edx, 24(%rsp)
	movl	%edx, 8(%rsp)
	movl	$0, 32(%rsp)
	movl	$0, 16(%rsp)
	movq	$0, (%rsp)
	movl	%eax, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	callq	_bus_dma_tag_create
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_39
LBB0_2:
	movl	76(%r14), %edi
	movq	_FV_RING_ALIGN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r15), %ecx
	movq	_FV_TX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	72(%r14), %r13
	movq	%r13, 56(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsp)
	movl	%eax, 24(%rsp)
	movl	%eax, 8(%rsp)
	movl	$0, 32(%rsp)
	movl	$1, 16(%rsp)
	movq	$0, (%rsp)
	xorl	%edx, %edx
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	callq	_bus_dma_tag_create
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_39
LBB0_4:
	movl	76(%r14), %edi
	movl	(%r12), %esi
	movl	(%r15), %ecx
	movq	_FV_RX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	64(%r14), %r12
	movq	%r12, 56(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsp)
	movl	%eax, 24(%rsp)
	movl	%eax, 8(%rsp)
	movl	$0, 32(%rsp)
	movl	$1, 16(%rsp)
	movq	$0, (%rsp)
	xorl	%edx, %edx
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	callq	_bus_dma_tag_create
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_39
LBB0_6:
	movl	76(%r14), %edi
	movl	(%r15), %ecx
	movq	_MCLBYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FV_MAXFRAGS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	imull	%eax, %esi
	leaq	32(%r14), %rbx
	movq	%rbx, 56(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsp)
	movl	%eax, 24(%rsp)
	movl	%edx, 16(%rsp)
	movl	%esi, 8(%rsp)
	movl	$0, 32(%rsp)
	movq	$0, (%rsp)
	movl	$1, %esi
	xorl	%edx, %edx
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	callq	_bus_dma_tag_create
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_39
LBB0_8:
	movl	76(%r14), %edi
	movq	_FV_RX_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	movq	_MCLBYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%r14), %rdx
	movq	%rdx, 56(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsp)
	movl	%eax, 24(%rsp)
	movl	%eax, 8(%rsp)
	movl	$0, 32(%rsp)
	movl	$1, 16(%rsp)
	movq	$0, (%rsp)
	xorl	%edx, %edx
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	callq	_bus_dma_tag_create
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_39
LBB0_10:
	movl	76(%r14), %edi
	movl	(%r15), %ecx
	movq	_FV_SFRAME_LEN@GOTPCREL(%rip), %rdx
	movq	_FV_MIN_FRAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%rdx), %eax
	leaq	56(%r14), %r15
	movq	%r15, 56(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsp)
	movl	%eax, 24(%rsp)
	movl	%eax, 8(%rsp)
	movl	$0, 32(%rsp)
	movl	$1, 16(%rsp)
	movq	$0, (%rsp)
	movl	$4, %esi
	xorl	%edx, %edx
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	callq	_bus_dma_tag_create
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_39
LBB0_12:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	72(%r14), %edi
	leaq	108(%r14), %rsi
	movq	_BUS_DMA_WAITOK@GOTPCREL(%rip), %rax
	movq	_BUS_DMA_COHERENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_BUS_DMA_ZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	68(%r14), %rcx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r15
	callq	_bus_dmamem_alloc
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_39
LBB0_14:
	movq	$0, -48(%rbp)
	movl	(%r13), %edi
	movl	(%r15), %esi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	_FV_TX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_fv_dmamap_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$0, (%rsp)
	leaq	-48(%rbp), %r9
	callq	_bus_dmamap_load
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	%r12, %r13
	movq	%rax, 80(%r14)
	movl	64(%r14), %edi
	movq	_BUS_DMA_COHERENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BUS_DMA_WAITOK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	104(%r14), %r15
	movq	_BUS_DMA_ZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	60(%r14), %r12
	movq	%r15, %rsi
	movq	%r12, %rcx
	callq	_bus_dmamem_alloc
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_39
LBB0_16:
	movl	(%r14), %edi
	leaq	L_.str.7(%rip), %rsi
LBB0_39:
	callq	_device_printf
LBB0_40:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	$0, -48(%rbp)
	movl	(%r13), %edi
	movl	(%r12), %esi
	movl	(%r15), %edx
	movq	_FV_RX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_fv_dmamap_cb@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	movl	$0, (%rsp)
	leaq	-48(%rbp), %r9
	callq	_bus_dmamap_load
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	movq	%rax, 88(%r14)
	movl	56(%r14), %edi
	movq	_BUS_DMA_COHERENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BUS_DMA_WAITOK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	48(%r14), %r15
	movq	_BUS_DMA_ZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	52(%r14), %r12
	movq	%r15, %rsi
	movq	%r12, %rcx
	callq	_bus_dmamem_alloc
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_39
LBB0_21:
	movl	(%r14), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_39
LBB0_24:
	movq	$0, -48(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	(%r12), %esi
	movl	(%r15), %edx
	movq	_FV_SFRAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	movl	$0, (%rsp)
	leaq	-48(%rbp), %r9
	callq	_bus_dmamap_load
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_26
## %bb.25:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	movq	%rax, 96(%r14)
	movq	_FV_TX_RING_CNT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_32
## %bb.28:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rdx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdx,%r12)
	addq	%r12, %rdx
	movl	32(%r14), %edi
	xorl	%esi, %esi
	callq	_bus_dmamap_create
	testl	%eax, %eax
	jne	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_30 Depth=1
	incq	%r13
	movslq	(%r15), %rax
	addq	$16, %r12
	cmpq	%rax, %r13
	jl	LBB0_30
LBB0_32:
	movl	8(%r14), %edi
	leaq	24(%r14), %rdx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_bus_dmamap_create
	testl	%eax, %eax
	je	LBB0_33
## %bb.35:
	movl	%eax, %r15d
	movl	(%r14), %edi
	leaq	L_.str.13(%rip), %rsi
	callq	_device_printf
	movl	%r15d, %ebx
	jmp	LBB0_40
LBB0_26:
	movl	(%r14), %edi
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_39
LBB0_31:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_39
LBB0_33:
	movq	_FV_RX_RING_CNT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_40
## %bb.34:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rdx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdx,%r12)
	addq	%r12, %rdx
	movl	8(%r14), %edi
	xorl	%esi, %esi
	callq	_bus_dmamap_create
	testl	%eax, %eax
	jne	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_37 Depth=1
	incq	%r13
	movslq	(%r15), %rax
	addq	$16, %r12
	xorl	%ebx, %ebx
	cmpq	%rax, %r13
	jl	LBB0_37
	jmp	LBB0_40
LBB0_38:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_39
	.cfi_endproc
                                        ## -- End function
	.comm	_BUS_SPACE_MAXADDR_32BIT,4,2    ## @BUS_SPACE_MAXADDR_32BIT
	.comm	_BUS_SPACE_MAXADDR,4,2          ## @BUS_SPACE_MAXADDR
	.comm	_BUS_SPACE_MAXSIZE_32BIT,4,2    ## @BUS_SPACE_MAXSIZE_32BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to create parent DMA tag\n"

	.comm	_FV_RING_ALIGN,4,2              ## @FV_RING_ALIGN
	.comm	_FV_TX_RING_SIZE,4,2            ## @FV_TX_RING_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"failed to create Tx ring DMA tag\n"

	.comm	_FV_RX_RING_SIZE,4,2            ## @FV_RX_RING_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"failed to create Rx ring DMA tag\n"

	.comm	_MCLBYTES,4,2                   ## @MCLBYTES
	.comm	_FV_MAXFRAGS,4,2                ## @FV_MAXFRAGS
L_.str.3:                               ## @.str.3
	.asciz	"failed to create Tx DMA tag\n"

	.comm	_FV_RX_ALIGN,4,2                ## @FV_RX_ALIGN
L_.str.4:                               ## @.str.4
	.asciz	"failed to create Rx DMA tag\n"

	.comm	_FV_SFRAME_LEN,4,2              ## @FV_SFRAME_LEN
	.comm	_FV_MIN_FRAMELEN,4,2            ## @FV_MIN_FRAMELEN
L_.str.5:                               ## @.str.5
	.asciz	"failed to create setup frame DMA tag\n"

	.comm	_BUS_DMA_WAITOK,4,2             ## @BUS_DMA_WAITOK
	.comm	_BUS_DMA_COHERENT,4,2           ## @BUS_DMA_COHERENT
	.comm	_BUS_DMA_ZERO,4,2               ## @BUS_DMA_ZERO
L_.str.6:                               ## @.str.6
	.asciz	"failed to allocate DMA'able memory for Tx ring\n"

	.comm	_fv_dmamap_cb,4,2               ## @fv_dmamap_cb
L_.str.7:                               ## @.str.7
	.asciz	"failed to load DMA'able memory for Tx ring\n"

L_.str.8:                               ## @.str.8
	.asciz	"failed to allocate DMA'able memory for Rx ring\n"

L_.str.9:                               ## @.str.9
	.asciz	"failed to load DMA'able memory for Rx ring\n"

L_.str.10:                              ## @.str.10
	.asciz	"failed to allocate DMA'able memory for setup frame\n"

L_.str.11:                              ## @.str.11
	.asciz	"failed to load DMA'able memory for setup frame\n"

	.comm	_FV_TX_RING_CNT,4,2             ## @FV_TX_RING_CNT
L_.str.12:                              ## @.str.12
	.asciz	"failed to create Tx dmamap\n"

L_.str.13:                              ## @.str.13
	.asciz	"failed to create spare Rx dmamap\n"

	.comm	_FV_RX_RING_CNT,4,2             ## @FV_RX_RING_CNT
L_.str.14:                              ## @.str.14
	.asciz	"failed to create Rx dmamap\n"

	.no_dead_strip	_fv_dma_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fv_dma_alloc
_fv_dma_alloc:                          ; @fv_dma_alloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x0
	mov	x20, x0
	ldr	w0, [x20], #76
	bl	_bus_get_dma_tag
Lloh0:
	adrp	x8, _BUS_SPACE_MAXADDR_32BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUS_SPACE_MAXADDR_32BIT@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x21, _BUS_SPACE_MAXADDR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _BUS_SPACE_MAXADDR@GOTPAGEOFF]
	ldr	w4, [x21]
Lloh5:
	adrp	x8, _BUS_SPACE_MAXSIZE_32BIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BUS_SPACE_MAXSIZE_32BIT@GOTPAGEOFF]
Lloh7:
	ldr	w7, [x8]
	stp	xzr, xzr, [sp, #16]
	mov	w22, #1
	str	x20, [sp, #32]
	stp	w7, wzr, [sp, #4]
	str	wzr, [sp]
	mov	w1, #1
	mov	w2, #0
	mov	x5, #0
	mov	x6, #0
	bl	_bus_dma_tag_create
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_19
LBB0_2:
	ldr	w0, [x19, #76]
Lloh10:
	adrp	x23, _FV_RING_ALIGN@GOTPAGE
Lloh11:
	ldr	x23, [x23, _FV_RING_ALIGN@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w3, [x21]
Lloh12:
	adrp	x25, _FV_TX_RING_SIZE@GOTPAGE
Lloh13:
	ldr	x25, [x25, _FV_TX_RING_SIZE@GOTPAGEOFF]
	ldr	w7, [x25]
	add	x26, x19, #72
	stp	xzr, xzr, [sp, #16]
	str	x26, [sp, #32]
	stp	w7, wzr, [sp, #4]
	str	w22, [sp]
	mov	w2, #0
	mov	x4, x3
	mov	x5, #0
	mov	x6, #0
	bl	_bus_dma_tag_create
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
	ldr	w0, [x19]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_4:
	ldr	w0, [x19, #76]
	ldr	w1, [x23]
	ldr	w3, [x21]
Lloh16:
	adrp	x23, _FV_RX_RING_SIZE@GOTPAGE
Lloh17:
	ldr	x23, [x23, _FV_RX_RING_SIZE@GOTPAGEOFF]
	ldr	w7, [x23]
	add	x24, x19, #64
	stp	xzr, xzr, [sp, #16]
	str	x24, [sp, #32]
	stp	w7, wzr, [sp, #4]
	mov	w8, #1
	str	w8, [sp]
	mov	w2, #0
	mov	x4, x3
	mov	x5, #0
	mov	x6, #0
	bl	_bus_dma_tag_create
	cbz	w0, LBB0_6
; %bb.5:
	mov	x20, x0
	ldr	w0, [x19]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_6:
	ldr	w0, [x19, #76]
	ldr	w3, [x21]
Lloh20:
	adrp	x22, _MCLBYTES@GOTPAGE
Lloh21:
	ldr	x22, [x22, _MCLBYTES@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh22:
	adrp	x9, _FV_MAXFRAGS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _FV_MAXFRAGS@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	mul	w7, w9, w8
	add	x10, x19, #32
	stp	xzr, xzr, [sp, #16]
	mov	w27, #1
	str	x10, [sp, #32]
	stp	w8, wzr, [sp, #4]
	str	w9, [sp]
	mov	w1, #1
	mov	w2, #0
	mov	x4, x3
	mov	x5, #0
	mov	x6, #0
	bl	_bus_dma_tag_create
	cbz	w0, LBB0_8
; %bb.7:
	mov	x20, x0
	ldr	w0, [x19]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_8:
	ldr	w0, [x19, #76]
Lloh27:
	adrp	x8, _FV_RX_ALIGN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FV_RX_ALIGN@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w3, [x21]
	ldr	w7, [x22]
	add	x8, x19, #8
	stp	xzr, xzr, [sp, #16]
	str	x8, [sp, #32]
	stp	w7, wzr, [sp, #4]
	str	w27, [sp]
	mov	w2, #0
	mov	x4, x3
	mov	x5, #0
	mov	x6, #0
	bl	_bus_dma_tag_create
	cbz	w0, LBB0_10
; %bb.9:
	mov	x20, x0
	ldr	w0, [x19]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_10:
	ldr	w0, [x19, #76]
	ldr	w3, [x21]
Lloh32:
	adrp	x27, _FV_SFRAME_LEN@GOTPAGE
Lloh33:
	ldr	x27, [x27, _FV_SFRAME_LEN@GOTPAGEOFF]
	ldr	w8, [x27]
Lloh34:
	adrp	x9, _FV_MIN_FRAMELEN@GOTPAGE
Lloh35:
	ldr	x9, [x9, _FV_MIN_FRAMELEN@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	add	w7, w9, w8
	add	x28, x19, #56
	stp	xzr, xzr, [sp, #16]
	str	x28, [sp, #32]
	stp	w7, wzr, [sp, #4]
	mov	w8, #1
	str	w8, [sp]
	mov	w1, #4
	mov	w2, #0
	mov	x4, x3
	mov	x5, #0
	mov	x6, #0
	bl	_bus_dma_tag_create
	cbz	w0, LBB0_12
; %bb.11:
	mov	x20, x0
	ldr	w0, [x19]
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_19
LBB0_12:
	ldr	w0, [x19, #72]
	add	x21, x19, #108
Lloh39:
	adrp	x8, _BUS_DMA_WAITOK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _BUS_DMA_WAITOK@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _BUS_DMA_COHERENT@GOTPAGE
Lloh43:
	ldr	x9, [x9, _BUS_DMA_COHERENT@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh45:
	adrp	x9, _BUS_DMA_ZERO@GOTPAGE
Lloh46:
	ldr	x9, [x9, _BUS_DMA_ZERO@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w2, w8, w9
	add	x22, x19, #68
	mov	x1, x21
	mov	x3, x22
	bl	_bus_dmamem_alloc
	cbz	w0, LBB0_14
; %bb.13:
	mov	x20, x0
	ldr	w0, [x19]
Lloh48:
	adrp	x1, l_.str.6@PAGE
Lloh49:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_19
LBB0_14:
	str	xzr, [sp, #40]
	ldr	w0, [x26]
	ldr	w1, [x22]
	ldr	w2, [x21]
	ldr	w3, [x25]
Lloh50:
	adrp	x25, _fv_dmamap_cb@GOTPAGE
Lloh51:
	ldr	x25, [x25, _fv_dmamap_cb@GOTPAGEOFF]
	ldr	w4, [x25]
	add	x5, sp, #40
	mov	w6, #0
	bl	_bus_dmamap_load
	mov	x20, x0
	cbnz	w0, LBB0_18
; %bb.15:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_18
; %bb.16:
	str	x8, [x19, #80]
	ldr	w0, [x19, #64]
	add	x21, x19, #104
Lloh52:
	adrp	x26, _BUS_DMA_WAITOK@GOTPAGE
Lloh53:
	ldr	x26, [x26, _BUS_DMA_WAITOK@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh54:
	adrp	x9, _BUS_DMA_COHERENT@GOTPAGE
Lloh55:
	ldr	x9, [x9, _BUS_DMA_COHERENT@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh57:
	adrp	x9, _BUS_DMA_ZERO@GOTPAGE
Lloh58:
	ldr	x9, [x9, _BUS_DMA_ZERO@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w2, w8, w9
	add	x22, x19, #60
	mov	x1, x21
	mov	x3, x22
	bl	_bus_dmamem_alloc
	cbz	w0, LBB0_21
; %bb.17:
	mov	x20, x0
	ldr	w0, [x19]
Lloh60:
	adrp	x1, l_.str.8@PAGE
Lloh61:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_19
LBB0_18:
	ldr	w0, [x19]
Lloh62:
	adrp	x1, l_.str.7@PAGE
Lloh63:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_19:
	bl	_device_printf
LBB0_20:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_21:
	str	xzr, [sp, #40]
	ldr	w0, [x24]
	ldr	w1, [x22]
	ldr	w2, [x21]
	ldr	w3, [x23]
	ldr	w4, [x25]
	add	x5, sp, #40
	mov	w6, #0
	bl	_bus_dmamap_load
	mov	x20, x0
	cbnz	w0, LBB0_25
; %bb.22:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_25
; %bb.23:
	str	x8, [x19, #88]
	ldr	w0, [x19, #56]
	add	x21, x19, #48
	ldr	w8, [x26]
Lloh64:
	adrp	x9, _BUS_DMA_COHERENT@GOTPAGE
Lloh65:
	ldr	x9, [x9, _BUS_DMA_COHERENT@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh67:
	adrp	x9, _BUS_DMA_ZERO@GOTPAGE
Lloh68:
	ldr	x9, [x9, _BUS_DMA_ZERO@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w2, w8, w9
	add	x22, x19, #52
	mov	x1, x21
	mov	x3, x22
	bl	_bus_dmamem_alloc
	cbz	w0, LBB0_26
; %bb.24:
	mov	x20, x0
	ldr	w0, [x19]
Lloh70:
	adrp	x1, l_.str.10@PAGE
Lloh71:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_19
LBB0_25:
	ldr	w0, [x19]
Lloh72:
	adrp	x1, l_.str.9@PAGE
Lloh73:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_19
LBB0_26:
	str	xzr, [sp, #40]
	ldr	w0, [x28]
	ldr	w1, [x22]
	ldr	w2, [x21]
	ldr	w3, [x27]
	ldr	w4, [x25]
	add	x5, sp, #40
	mov	w6, #0
	bl	_bus_dmamap_load
	mov	x20, x0
	cbnz	w0, LBB0_34
; %bb.27:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_34
; %bb.28:
	str	x8, [x19, #96]
Lloh74:
	adrp	x21, _FV_TX_RING_CNT@GOTPAGE
Lloh75:
	ldr	x21, [x21, _FV_TX_RING_CNT@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.29:
	mov	x22, #0
	mov	x23, #0
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x2, x8, x22
	stp	xzr, xzr, [x2]
	ldr	w0, [x19, #32]
	mov	w1, #0
	bl	_bus_dmamap_create
	cbnz	w0, LBB0_35
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #16
	cmp	x23, x8
	b.lt	LBB0_30
LBB0_32:
	ldr	w0, [x19, #8]
	add	x2, x19, #24
	mov	w1, #0
	bl	_bus_dmamap_create
	cbz	w0, LBB0_36
; %bb.33:
	mov	x20, x0
	ldr	w0, [x19]
Lloh76:
	adrp	x1, l_.str.13@PAGE
Lloh77:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_19
LBB0_34:
	ldr	w0, [x19]
Lloh78:
	adrp	x1, l_.str.11@PAGE
Lloh79:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_19
LBB0_35:
	mov	x20, x0
	ldr	w0, [x19]
Lloh80:
	adrp	x1, l_.str.12@PAGE
Lloh81:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_19
LBB0_36:
Lloh82:
	adrp	x21, _FV_RX_RING_CNT@GOTPAGE
Lloh83:
	ldr	x21, [x21, _FV_RX_RING_CNT@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_40
; %bb.37:
	mov	x22, #0
	mov	x23, #0
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x2, x8, x22
	stp	xzr, xzr, [x2]
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	_bus_dmamap_create
	mov	x20, x0
	cbnz	w0, LBB0_41
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #16
	cmp	x23, x8
	b.lt	LBB0_38
	b	LBB0_20
LBB0_40:
	mov	w20, #0
	b	LBB0_20
LBB0_41:
	ldr	w0, [x19]
Lloh84:
	adrp	x1, l_.str.14@PAGE
Lloh85:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_BUS_SPACE_MAXADDR_32BIT,4,2    ; @BUS_SPACE_MAXADDR_32BIT
	.comm	_BUS_SPACE_MAXADDR,4,2          ; @BUS_SPACE_MAXADDR
	.comm	_BUS_SPACE_MAXSIZE_32BIT,4,2    ; @BUS_SPACE_MAXSIZE_32BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to create parent DMA tag\n"

	.comm	_FV_RING_ALIGN,4,2              ; @FV_RING_ALIGN
	.comm	_FV_TX_RING_SIZE,4,2            ; @FV_TX_RING_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"failed to create Tx ring DMA tag\n"

	.comm	_FV_RX_RING_SIZE,4,2            ; @FV_RX_RING_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"failed to create Rx ring DMA tag\n"

	.comm	_MCLBYTES,4,2                   ; @MCLBYTES
	.comm	_FV_MAXFRAGS,4,2                ; @FV_MAXFRAGS
l_.str.3:                               ; @.str.3
	.asciz	"failed to create Tx DMA tag\n"

	.comm	_FV_RX_ALIGN,4,2                ; @FV_RX_ALIGN
l_.str.4:                               ; @.str.4
	.asciz	"failed to create Rx DMA tag\n"

	.comm	_FV_SFRAME_LEN,4,2              ; @FV_SFRAME_LEN
	.comm	_FV_MIN_FRAMELEN,4,2            ; @FV_MIN_FRAMELEN
l_.str.5:                               ; @.str.5
	.asciz	"failed to create setup frame DMA tag\n"

	.comm	_BUS_DMA_WAITOK,4,2             ; @BUS_DMA_WAITOK
	.comm	_BUS_DMA_COHERENT,4,2           ; @BUS_DMA_COHERENT
	.comm	_BUS_DMA_ZERO,4,2               ; @BUS_DMA_ZERO
l_.str.6:                               ; @.str.6
	.asciz	"failed to allocate DMA'able memory for Tx ring\n"

	.comm	_fv_dmamap_cb,4,2               ; @fv_dmamap_cb
l_.str.7:                               ; @.str.7
	.asciz	"failed to load DMA'able memory for Tx ring\n"

l_.str.8:                               ; @.str.8
	.asciz	"failed to allocate DMA'able memory for Rx ring\n"

l_.str.9:                               ; @.str.9
	.asciz	"failed to load DMA'able memory for Rx ring\n"

l_.str.10:                              ; @.str.10
	.asciz	"failed to allocate DMA'able memory for setup frame\n"

l_.str.11:                              ; @.str.11
	.asciz	"failed to load DMA'able memory for setup frame\n"

	.comm	_FV_TX_RING_CNT,4,2             ; @FV_TX_RING_CNT
l_.str.12:                              ; @.str.12
	.asciz	"failed to create Tx dmamap\n"

l_.str.13:                              ; @.str.13
	.asciz	"failed to create spare Rx dmamap\n"

	.comm	_FV_RX_RING_CNT,4,2             ; @FV_RX_RING_CNT
l_.str.14:                              ; @.str.14
	.asciz	"failed to create Rx dmamap\n"

	.no_dead_strip	_fv_dma_alloc
.subsections_via_symbols
