	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28xx_audio_urb_init
_em28xx_audio_urb_init:                 ## @em28xx_audio_urb_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
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	24(%rdi), %rdi
	callq	_interface_to_usbdev
	movq	%rax, %r14
	movl	32(%r15), %esi
	testl	%esi, %esi
	movl	$7, %eax
	movl	$1, %ebx
	cmoveq	%rax, %rbx
	movq	%r14, %rdi
	callq	_usb_ifnum_to_if
	cmpq	%rbx, (%rax)
	jbe	LBB0_12
## %bb.1:
	movq	%rax, %r13
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rdx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	shlq	$4, %rsi
	cmpl	$0, 8(%rdx,%rsi)
	jle	LBB0_13
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	movq	8(%r13), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movslq	8(%rdx,%rsi), %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r14
	jge	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi), %r12
	leaq	(%r12,%rbx), %r15
	movq	%r15, %rdi
	callq	_usb_endpoint_dir_in
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12,%rbx), %rax
	movq	_EM28XX_EP_AUDIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.6:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_em28xx_audio_ep_packet_size
	movb	8(%r12,%rbx), %r14b
	decb	%r14b
	movl	$1, %ebx
	movl	%r14d, %ecx
	shll	%cl, %ebx
	movl	%eax, %r13d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	24(%r15), %r12
	movq	_EM28XX_EP_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_usb_speed_string
	movl	32(%r15), %r8d
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	pushq	%r13
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	pushq	%rbx
	callq	_dev_info
	addq	$16, %rsp
	movl	$125, %esi
	movl	%r14d, %ecx
	shll	%cl, %esi
	movl	$192000, %edi                   ## imm = 0x2EE00
	callq	_DIV_ROUND_UP
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	_DIV_ROUND_UP
	movq	_EM28XX_MAX_AUDIO_BUFS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	cmpl	%r14d, %eax
	cmovll	%eax, %r14d
	movl	%ebx, %eax
	cltd
	idivl	%r14d
	movl	%eax, %ebx
	movq	_EM28XX_MIN_AUDIO_PACKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	imull	%r13d, %eax
	cmpl	%eax, %ebx
	jle	LBB0_8
## %bb.7:
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %ecx
LBB0_8:
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	24(%r13), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r12d, %r12d
	movl	%r14d, %edx
	movl	%ecx, %r15d
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_dev_info
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	imull	%r15d, %ebx
	movl	%ebx, (%r13)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r14d, %edi
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_36
## %bb.9:
	movl	(%rbx), %edx
	movl	%r14d, %edi
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	movq	%r13, %r15
	je	LBB0_31
## %bb.10:
	movl	%r14d, 4(%r15)
	testl	%r14d, %r14d
	jle	LBB0_32
## %bb.11:
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %ecx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	imull	%eax, %ecx
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movl	%r14d, %ecx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movl	%edi, %r15d
	movl	%r15d, %ecx
	andl	$-4, %ecx
	leaq	-4(%rcx), %rdx
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	shrq	$2, %rdx
	incq	%rdx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx killed $rcx
	imull	%eax, %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movd	%eax, %xmm0
	pshufd	$81, %xmm0, %xmm1               ## xmm1 = xmm0[1,0,1,1]
	movdqa	%xmm1, -176(%rbp)               ## 16-byte Spill
	addl	%eax, %eax
	movd	%eax, %xmm1
	pshufd	$80, %xmm1, %xmm2               ## xmm2 = xmm1[0,0,1,1]
	pshufd	$80, %xmm0, %xmm3               ## xmm3 = xmm0[0,0,1,1]
	movq	%rdx, %rax
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	andq	$-2, %rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	movdqa	%xmm2, -208(%rbp)               ## 16-byte Spill
	movdqa	%xmm3, -192(%rbp)               ## 16-byte Spill
	jmp	LBB0_18
LBB0_12:
	movq	24(%r15), %rdi
	movl	32(%r15), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_14
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_dev_err
LBB0_14:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_15:
	subl	(%rax), %r12d
LBB0_16:
	movl	%r12d, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	xorl	%r12d, %r12d
	cmpq	-144(%rbp), %rax                ## 8-byte Folded Reload
	je	LBB0_16
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %esi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_33
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %rbx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	16(%r12), %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%rbx, (%rax,%r13,8)
	movl	(%r14), %edx
	movq	%rbx, %rcx
	addq	$64, %rcx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	_usb_alloc_coherent
	testq	%rax, %rax
	je	LBB0_35
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %r14
	movq	8(%r12), %rax
	movq	%r14, (%rax,%r13,8)
	movq	%r15, 56(%rbx)
	movq	%r12, 48(%rbx)
	movq	_EM28XX_EP_AUDIO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_usb_rcvisocpipe
	movl	%eax, 40(%rbx)
	movq	_URB_NO_TRANSFER_DMA_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_URB_ISO_ASAP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	movq	%r14, 32(%rbx)
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 4(%rbx)
	movq	_em28xx_audio_isocirq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, 8(%rbx)
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%rbx)
	testl	%edi, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movdqa	-208(%rbp), %xmm2               ## 16-byte Reload
	movdqa	-192(%rbp), %xmm3               ## 16-byte Reload
	jle	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	16(%rbx), %rax
	cmpl	$4, %edi
	jae	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	jmp	LBB0_29
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	cmpq	$0, -120(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_30
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	xorl	%ecx, %ecx
	movdqa	-176(%rbp), %xmm0               ## 16-byte Reload
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm0, %xmm1
	paddd	%xmm2, %xmm1
	punpckldq	%xmm3, %xmm0            ## xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
	movdqu	%xmm0, (%rax,%rcx,8)
	movdqa	%xmm1, %xmm0
	punpckldq	%xmm3, %xmm0            ## xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
	movdqu	%xmm0, 16(%rax,%rcx,8)
	paddd	%xmm2, %xmm1
	movdqa	%xmm1, %xmm0
	paddd	%xmm2, %xmm0
	punpckldq	%xmm3, %xmm1            ## xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
	movdqu	%xmm1, 32(%rax,%rcx,8)
	movdqa	%xmm0, %xmm1
	punpckldq	%xmm3, %xmm1            ## xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
	movdqu	%xmm1, 48(%rax,%rcx,8)
	addq	$8, %rcx
	paddd	%xmm2, %xmm0
	addq	$-2, %rdx
	jne	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=1
	testb	$1, -112(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_18 Depth=1
	movdqa	%xmm0, %xmm1
	paddd	%xmm2, %xmm1
	leaq	(,%rcx,8), %rdx
	orq	$16, %rdx
	punpckldq	%xmm3, %xmm0            ## xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
	movdqu	%xmm0, (%rax,%rcx,8)
	punpckldq	%xmm3, %xmm1            ## xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
	movdqu	%xmm1, (%rax,%rdx)
LBB0_28:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rcx
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	cmpq	%r15, %rbx
	je	LBB0_17
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, (%rax,%rcx,8)
	movl	%esi, 4(%rax,%rcx,8)
	incq	%rcx
	addl	%esi, %edx
	cmpq	%rcx, %r15
	jne	LBB0_29
	jmp	LBB0_17
LBB0_30:                                ##   in Loop: Header=BB0_18 Depth=1
	xorl	%ecx, %ecx
	movdqa	-176(%rbp), %xmm0               ## 16-byte Reload
	testb	$1, -112(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_27
	jmp	LBB0_28
LBB0_31:
	movq	8(%r15), %rdi
	callq	_kfree
	jmp	LBB0_34
LBB0_32:
	xorl	%r12d, %r12d
	jmp	LBB0_16
LBB0_33:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_em28xx_audio_free_urb
LBB0_34:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	jmp	LBB0_15
LBB0_35:
	movq	24(%r12), %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rbx
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_dev_err
	movq	%rbx, %rdi
	callq	_em28xx_audio_free_urb
LBB0_36:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alt %d doesn't exist on interface %d\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EM28XX_EP_AUDIO,8,3            ## @EM28XX_EP_AUDIO
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't find an audio endpoint"

L_.str.2:                               ## @.str.2
	.asciz	"Endpoint 0x%02x %s on intf %d alt %d interval = %d, size %d\n"

	.comm	_EM28XX_MAX_AUDIO_BUFS,4,2      ## @EM28XX_MAX_AUDIO_BUFS
	.comm	_EM28XX_MIN_AUDIO_PACKETS,4,2   ## @EM28XX_MIN_AUDIO_PACKETS
L_.str.3:                               ## @.str.3
	.asciz	"Number of URBs: %d, with %d packets and %d size\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.4:                               ## @.str.4
	.asciz	"usb_alloc_coherent failed!\n"

	.comm	_URB_ISO_ASAP,4,2               ## @URB_ISO_ASAP
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ## @URB_NO_TRANSFER_DMA_MAP
	.comm	_em28xx_audio_isocirq,4,2       ## @em28xx_audio_isocirq
	.no_dead_strip	_em28xx_audio_urb_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 em28xx_audio_urb_init
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_em28xx_audio_urb_init:                 ; @em28xx_audio_urb_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	x28, x27, [sp, #160]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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
	ldr	x0, [x0, #24]
	bl	_interface_to_usbdev
	mov	x20, x0
	ldr	w1, [x19, #32]
	cmp	w1, #0
	mov	w8, #7
	csinc	x24, x8, xzr, eq
	bl	_usb_ifnum_to_if
	ldr	x8, [x0]
	cmp	x8, x24
	b.ls	LBB0_12
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0, #8]
	add	x9, x8, x24, lsl #4
	ldr	w9, [x9, #8]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.2:
	mov	x22, #0
	mov	x23, #0
	lsl	x25, x24, #4
Lloh0:
	adrp	x27, _EM28XX_EP_AUDIO@GOTPAGE
Lloh1:
	ldr	x27, [x27, _EM28XX_EP_AUDIO@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x8, [x21, #8]
	add	x9, x8, x24, lsl #4
	ldrsw	x9, [x9, #8]
	add	x22, x22, #16
	cmp	x23, x9
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x8, x25]
	add	x0, x26, x22
	bl	_usb_endpoint_dir_in
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, x22]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.6:
	add	x22, x26, x22
	mov	x0, x20
	mov	x1, x22
	bl	_em28xx_audio_ep_packet_size
	mov	x21, x0
	ldr	w8, [x22, #8]
	sub	w25, w8, #1
	mov	w8, #1
	lsl	w26, w8, w25
	ldr	x22, [x19, #24]
	ldr	w23, [x27]
	ldr	w0, [x20]
	bl	_usb_speed_string
	mov	x3, x0
	ldr	w4, [x19, #32]
	stp	x26, x21, [sp, #8]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	str	x26, [sp, #104]                 ; 8-byte Folded Spill
	str	x24, [sp]
	mov	x0, x22
	mov	x2, x23
	bl	_dev_info
	mov	w8, #125
	lsl	w1, w8, w25
	mov	w0, #60928
	movk	w0, #2, lsl #16
	bl	_DIV_ROUND_UP
	mov	x23, x0
	mov	x1, x21
	bl	_DIV_ROUND_UP
Lloh4:
	adrp	x8, _EM28XX_MAX_AUDIO_BUFS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EM28XX_MAX_AUDIO_BUFS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w27, w0, w8, lt
	sdiv	w24, w23, w27
Lloh7:
	adrp	x8, _EM28XX_MIN_AUDIO_PACKETS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EM28XX_MIN_AUDIO_PACKETS@GOTPAGEOFF]
Lloh9:
	ldr	w23, [x8]
	mul	w8, w23, w21
	cmp	w24, w8
	b.le	LBB0_8
; %bb.7:
	mov	x0, x24
	mov	x1, x21
	bl	_DIV_ROUND_UP
	mov	x23, x0
LBB0_8:
	ldr	x0, [x19, #24]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x27
	mov	x3, x23
	mov	x4, x24
	bl	_dev_info
	mul	w8, w23, w24
	str	w8, [x19]
Lloh12:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh13:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x27
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_32
; %bb.9:
	ldr	w2, [x26]
	mov	x0, x27
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_28
; %bb.10:
	str	w27, [x19, #4]
	cmp	w27, #1
	b.lt	LBB0_29
; %bb.11:
	mov	x28, #0
	mul	w22, w23, w21
	mov	w8, w23
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	and	x8, x8, #0xfffffff0
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	mul	w8, w21, w8
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	dup.4s	v5, w21
Lloh14:
	adrp	x8, lCPI0_0@PAGE
Lloh15:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	mul.4s	v0, v5, v0
	str	q0, [sp, #32]                   ; 16-byte Folded Spill
	lsl	w8, w21, #2
	dup.4s	v6, w8
	str	q6, [sp, #80]                   ; 16-byte Folded Spill
	b	LBB0_18
LBB0_12:
	ldr	x0, [x19, #24]
	ldr	w8, [x19, #32]
	stp	x8, x24, [sp]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_14
LBB0_13:
	ldr	x0, [x19, #24]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_14:
	bl	_dev_err
Lloh20:
	adrp	x8, _ENODEV@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, #0
	add	x28, x28, #1
	cmp	x28, x27
	b.eq	LBB0_16
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
	add	x8, sp, #112
	st1.2d	{ v4, v5 }, [x8]                ; 32-byte Folded Spill
	ldr	w1, [x26]
	mov	x0, x23
	bl	_usb_alloc_urb
	cbz	x0, LBB0_31
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x25, x0
	ldr	x8, [x19, #16]
	str	x0, [x8, x28, lsl #3]
	mov	x24, x26
	ldr	w2, [x26]
	add	x3, x0, #64
	mov	x0, x20
	mov	x1, x22
	bl	_usb_alloc_coherent
	cbz	x0, LBB0_30
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x26, x0
	ldr	x8, [x19, #8]
	str	x0, [x8, x28, lsl #3]
	stp	x19, x20, [x25, #48]
Lloh22:
	adrp	x8, _EM28XX_EP_AUDIO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EM28XX_EP_AUDIO@GOTPAGEOFF]
Lloh24:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_usb_rcvisocpipe
	str	w0, [x25, #40]
Lloh25:
	adrp	x8, _URB_ISO_ASAP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _URB_ISO_ASAP@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _URB_NO_TRANSFER_DMA_MAP@GOTPAGE
Lloh29:
	ldr	x9, [x9, _URB_NO_TRANSFER_DMA_MAP@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	x26, [x25, #32]
	str	w8, [x25]
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	str	w8, [x25, #4]
Lloh31:
	adrp	x8, _em28xx_audio_isocirq@GOTPAGE
Lloh32:
	ldr	x8, [x8, _em28xx_audio_isocirq@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x25, #24]
	stp	w23, w22, [x25, #8]
	cmp	w23, #1
	mov	x26, x24
	add	x8, sp, #112
	ld1.2d	{ v4, v5 }, [x8]                ; 32-byte Folded Reload
	ldr	q6, [sp, #80]                   ; 16-byte Folded Reload
	b.lt	LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x25, #16]
	cmp	w23, #16
	b.hs	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x10, #0
	mov	w9, #0
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x10, x8, #64
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	ldr	q0, [sp, #32]                   ; 16-byte Folded Reload
                                        ; kill: def $q0 killed $q0 def $q0_q1
LBB0_24:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.4s	v4, v0, v6
	mov.16b	v1, v5
	add.4s	v2, v4, v6
	sub	x11, x10, #64
	st2.4s	{ v0, v1 }, [x11]
	mov.16b	v3, v5
	sub	x11, x10, #32
	st2.4s	{ v4, v5 }, [x11]
	add	x11, x10, #128
	st2.4s	{ v2, v3 }, [x10], #32
	add.4s	v0, v2, v6
	mov.16b	v1, v5
	st2.4s	{ v0, v1 }, [x10]
	add.4s	v0, v0, v6
	mov	x10, x11
	subs	x9, x9, #16
	b.ne	LBB0_24
; %bb.25:                               ;   in Loop: Header=BB0_18 Depth=1
	ldp	x12, x11, [sp, #64]             ; 16-byte Folded Reload
	mov	x10, x12
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	cmp	x12, x11
	b.eq	LBB0_17
LBB0_26:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x8, x8, x10, lsl #3
	add	x8, x8, #4
	ldr	x11, [sp, #72]                  ; 8-byte Folded Reload
	sub	x10, x11, x10
LBB0_27:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	w9, w21, [x8, #-4]
	add	w9, w9, w21
	add	x8, x8, #8
	subs	x10, x10, #1
	b.ne	LBB0_27
	b	LBB0_17
LBB0_28:
	ldr	x0, [x19, #8]
	bl	_kfree
	b	LBB0_32
LBB0_29:
	mov	w0, #0
	b	LBB0_16
LBB0_30:
	ldr	x0, [x19, #24]
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
LBB0_31:
	mov	x0, x19
	bl	_em28xx_audio_free_urb
LBB0_32:
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alt %d doesn't exist on interface %d\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EM28XX_EP_AUDIO,8,3            ; @EM28XX_EP_AUDIO
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't find an audio endpoint"

l_.str.2:                               ; @.str.2
	.asciz	"Endpoint 0x%02x %s on intf %d alt %d interval = %d, size %d\n"

	.comm	_EM28XX_MAX_AUDIO_BUFS,4,2      ; @EM28XX_MAX_AUDIO_BUFS
	.comm	_EM28XX_MIN_AUDIO_PACKETS,4,2   ; @EM28XX_MIN_AUDIO_PACKETS
l_.str.3:                               ; @.str.3
	.asciz	"Number of URBs: %d, with %d packets and %d size\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.4:                               ; @.str.4
	.asciz	"usb_alloc_coherent failed!\n"

	.comm	_URB_ISO_ASAP,4,2               ; @URB_ISO_ASAP
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ; @URB_NO_TRANSFER_DMA_MAP
	.comm	_em28xx_audio_isocirq,4,2       ; @em28xx_audio_isocirq
	.no_dead_strip	_em28xx_audio_urb_init
.subsections_via_symbols
