	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st5481_setup_in                ## -- Begin function st5481_setup_in
	.p2align	4, 0x90
_st5481_setup_in:                       ## @st5481_setup_in
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	(%rax), %r15
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	callq	_DBG
	movl	20(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movl	%eax, 8(%rbx)
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	12(%rbx), %esi
	movl	16(%rbx), %r12d
	movq	%r15, %rdi
	callq	_usb_rcvisocpipe
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	movl	%r8d, %r9d
	imull	%ecx, %r9d
	movq	_usb_in_complete@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r10d
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	pushq	%rbx
	pushq	%r10
	callq	_st5481_setup_isocpipes
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	callq	_kfree
	movl	%r15d, %r14d
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_usb_in_complete,4,2            ## @usb_in_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st5481_setup_in                ; -- Begin function st5481_setup_in
	.p2align	2
_st5481_setup_in:                       ; @st5481_setup_in
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x20, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_DBG
	ldr	w0, [x19, #20]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kmalloc
	str	w0, [x19, #8]
	cbz	w0, LBB0_3
; %bb.1:
	ldp	w1, w21, [x19, #12]
	mov	x0, x20
	bl	_usb_rcvisocpipe
	mov	x2, x0
	ldp	w3, w4, [x19]
	mul	w5, w4, w3
Lloh5:
	adrp	x8, _usb_in_complete@GOTPAGE
Lloh6:
	ldr	x8, [x8, _usb_in_complete@GOTPAGEOFF]
Lloh7:
	ldr	w6, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x7, x19
	bl	_st5481_setup_isocpipes
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19, #8]
	bl	_kfree
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_usb_in_complete,4,2            ; @usb_in_complete
.subsections_via_symbols
