	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arpc_in_callback
_arpc_in_callback:                      ## @arpc_in_callback
	.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, %rbx
	movq	16(%rdi), %r14
	movq	24(%rdi), %r15
	callq	_check_urb_status
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_13
## %bb.2:
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_13
## %bb.3:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_15
## %bb.4:
	movq	_ESHUTDOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_15
## %bb.5:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_7:
	cmpl	$3, (%rbx)
	ja	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_13
LBB0_9:
	movq	8(%rbx), %r12
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_arpc_find
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_arpc_del
	movl	4(%r13), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r13, %rdi
	callq	_complete
	jmp	LBB0_12
LBB0_10:
	movl	(%r12), %edi
	callq	_le16_to_cpu
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_12:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
LBB0_13:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.3(%rip), %rsi
LBB0_6:
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ESHUTDOWN,4,2                  ## @ESHUTDOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"arpc in-urb error %d (dropped)\n"

L_.str.1:                               ## @.str.1
	.asciz	"short aprc response received\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid arpc response id received: %u\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.3:                               ## @.str.3
	.asciz	"failed to resubmit arpc in-urb: %d\n"

	.no_dead_strip	_arpc_in_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arpc_in_callback
_arpc_in_callback:                      ; @arpc_in_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldp	x19, x21, [x0, #16]
	bl	_check_urb_status
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_12
; %bb.2:
Lloh3:
	adrp	x8, _EPROTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_12
; %bb.3:
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_15
; %bb.4:
Lloh9:
	adrp	x8, _ESHUTDOWN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ESHUTDOWN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_15
; %bb.5:
	str	x0, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_14
LBB0_6:
	ldr	w8, [x20]
	cmp	w8, #3
	b.hi	LBB0_8
; %bb.7:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_12
LBB0_8:
	ldr	x22, [x20, #8]
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w1, [x22]
	mov	x0, x21
	bl	_arpc_find
	cbz	x0, LBB0_10
; %bb.9:
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	bl	_arpc_del
	ldr	w0, [x23, #4]
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
	mov	x0, x23
	bl	_complete
	b	LBB0_11
LBB0_10:
	ldr	w0, [x22]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_11:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
LBB0_12:
Lloh18:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_usb_submit_urb
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_15
; %bb.13:
	str	x0, [sp]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_dev_err
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ESHUTDOWN,4,2                  ; @ESHUTDOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"arpc in-urb error %d (dropped)\n"

l_.str.1:                               ; @.str.1
	.asciz	"short aprc response received\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid arpc response id received: %u\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.3:                               ; @.str.3
	.asciz	"failed to resubmit arpc in-urb: %d\n"

	.no_dead_strip	_arpc_in_callback
.subsections_via_symbols
