	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atusb_submit_rx_urb
_atusb_submit_rx_urb:                   ## @atusb_submit_rx_urb
	.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, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	movq	(%rsi), %r13
	testq	%r13, %r13
	jne	LBB0_4
## %bb.1:
	movq	_MAX_RX_XFER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_skb_put
LBB0_4:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_usb_rcvbulkpipe
	movl	(%r13), %ecx
	movq	_MAX_RX_XFER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	_atusb_in@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	%r13, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_usb_fill_bulk_urb
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_usb_anchor_urb
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_usb_unanchor_urb
	movq	%r13, %rdi
	callq	_kfree_skb
	movq	$0, (%r14)
	jmp	LBB0_7
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_warn_ratelimited
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RX_XFER,4,2                ## @MAX_RX_XFER
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"atusb_in: can't allocate skb\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_atusb_in,4,2                   ## @atusb_in
	.no_dead_strip	_atusb_submit_rx_urb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atusb_submit_rx_urb
_atusb_submit_rx_urb:                   ; @atusb_submit_rx_urb
	.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	x19, x1
	mov	x21, x0
	ldr	x22, [x0, #8]
	ldr	x20, [x1]
Lloh0:
	adrp	x24, _MAX_RX_XFER@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAX_RX_XFER@GOTPAGEOFF]
Lloh2:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	cbnz	x20, LBB0_3
; %bb.1:
	ldr	w0, [x24]
	ldr	w1, [x23]
	bl	_alloc_skb
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	w1, [x24]
	bl	_skb_put
LBB0_3:
	mov	x0, x22
	mov	w1, #1
	bl	_usb_rcvbulkpipe
	mov	x2, x0
	ldr	w3, [x20]
	ldr	w4, [x24]
Lloh4:
	adrp	x8, _atusb_in@GOTPAGE
Lloh5:
	ldr	x8, [x8, _atusb_in@GOTPAGEOFF]
Lloh6:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x6, x20
	bl	_usb_fill_bulk_urb
	mov	x0, x19
	mov	x1, x21
	bl	_usb_anchor_urb
	ldr	w1, [x23]
	mov	x0, x19
	bl	_usb_submit_urb
	mov	x21, x0
	cbz	w0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_usb_unanchor_urb
	mov	x0, x20
	bl	_kfree_skb
	str	xzr, [x19]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_warn_ratelimited
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	mov	x0, x21
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RX_XFER,4,2                ; @MAX_RX_XFER
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"atusb_in: can't allocate skb\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_atusb_in,4,2                   ; @atusb_in
	.no_dead_strip	_atusb_submit_rx_urb
.subsections_via_symbols
