	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipheth_alloc_urbs
_ipheth_alloc_urbs:                     ## @ipheth_alloc_urbs
	.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, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r14
	movl	(%r13), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r12
	movl	(%r15), %edi
	movq	_IPHETH_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rcx
	callq	_usb_alloc_coherent
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	movq	_IPHETH_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r12, %rcx
	callq	_usb_alloc_coherent
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, 32(%r15)
	movq	%r12, 24(%r15)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%r15)
	movq	%rax, 8(%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_5:
	movl	(%r15), %edi
	movq	_IPHETH_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_usb_free_coherent
LBB0_6:
	movq	%r12, %rdi
	callq	_usb_free_urb
LBB0_7:
	movq	%r14, %rdi
	callq	_usb_free_urb
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %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	_IPHETH_BUF_SIZE,4,2            ## @IPHETH_BUF_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ipheth_alloc_urbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipheth_alloc_urbs
_ipheth_alloc_urbs:                     ; @ipheth_alloc_urbs
	.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
	mov	x20, x0
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #0
	bl	_usb_alloc_urb
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w1, [x23]
	mov	w0, #0
	bl	_usb_alloc_urb
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	ldr	w0, [x20]
Lloh2:
	adrp	x24, _IPHETH_BUF_SIZE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IPHETH_BUF_SIZE@GOTPAGEOFF]
	ldr	w1, [x24]
	ldr	w2, [x23]
	mov	x3, x19
	bl	_usb_alloc_coherent
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
	ldr	w0, [x20]
	ldr	w1, [x24]
	ldr	w2, [x23]
	mov	x3, x21
	bl	_usb_alloc_coherent
	cbz	x0, LBB0_5
; %bb.4:
	mov	x8, x0
	mov	w0, #0
	stp	x21, x19, [x20, #24]
	stp	x8, x22, [x20, #8]
	b	LBB0_9
LBB0_5:
	ldr	w0, [x20]
	ldr	w1, [x24]
	ldr	w3, [x19]
	mov	x2, x22
	bl	_usb_free_coherent
LBB0_6:
	mov	x0, x21
	bl	_usb_free_urb
LBB0_7:
	mov	x0, x19
	bl	_usb_free_urb
LBB0_8:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IPHETH_BUF_SIZE,4,2            ; @IPHETH_BUF_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ipheth_alloc_urbs
.subsections_via_symbols
