	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_usb_send_rx_irq_urb
_carl9170_usb_send_rx_irq_urb:          ## @carl9170_usb_send_rx_irq_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	%rdi, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_AR9170_USB_EP_CTRL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r12
	movl	4(%r14), %ebx
	movq	_AR9170_USB_EP_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_usb_rcvintpipe
	movq	_AR9170_USB_EP_CTRL_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_carl9170_usb_rx_irq_complete@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	pushq	$1
	pushq	%r14
	callq	_usb_fill_int_urb
	addq	$16, %rsp
	movq	_URB_FREE_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_usb_anchor_urb
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_usb_unanchor_urb
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%r15, %rdi
	callq	_usb_free_urb
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_AR9170_USB_EP_CTRL_MAX,4,2     ## @AR9170_USB_EP_CTRL_MAX
	.comm	_AR9170_USB_EP_IRQ,4,2          ## @AR9170_USB_EP_IRQ
	.comm	_carl9170_usb_rx_irq_complete,4,2 ## @carl9170_usb_rx_irq_complete
	.comm	_URB_FREE_BUFFER,4,2            ## @URB_FREE_BUFFER
	.no_dead_strip	_carl9170_usb_send_rx_irq_urb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_usb_send_rx_irq_urb
_carl9170_usb_send_rx_irq_urb:          ; @carl9170_usb_send_rx_irq_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	x20, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
Lloh3:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #0
	bl	_usb_alloc_urb
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
Lloh5:
	adrp	x24, _AR9170_USB_EP_CTRL_MAX@GOTPAGE
Lloh6:
	ldr	x24, [x24, _AR9170_USB_EP_CTRL_MAX@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	w1, [x23]
	bl	_kmalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
	ldr	w21, [x20, #4]
Lloh7:
	adrp	x8, _AR9170_USB_EP_IRQ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AR9170_USB_EP_IRQ@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_usb_rcvintpipe
	mov	x2, x0
	ldr	w4, [x24]
Lloh10:
	adrp	x8, _carl9170_usb_rx_irq_complete@GOTPAGE
Lloh11:
	ldr	x8, [x8, _carl9170_usb_rx_irq_complete@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	mov	x6, x20
	mov	w7, #1
	bl	_usb_fill_int_urb
Lloh13:
	adrp	x8, _URB_FREE_BUFFER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _URB_FREE_BUFFER@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_usb_anchor_urb
	ldr	w1, [x23]
	mov	x0, x19
	bl	_usb_submit_urb
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_usb_unanchor_urb
LBB0_4:
	mov	x0, x19
	bl	_usb_free_urb
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_AR9170_USB_EP_CTRL_MAX,4,2     ; @AR9170_USB_EP_CTRL_MAX
	.comm	_AR9170_USB_EP_IRQ,4,2          ; @AR9170_USB_EP_IRQ
	.comm	_carl9170_usb_rx_irq_complete,4,2 ; @carl9170_usb_rx_irq_complete
	.comm	_URB_FREE_BUFFER,4,2            ; @URB_FREE_BUFFER
	.no_dead_strip	_carl9170_usb_send_rx_irq_urb
.subsections_via_symbols
