	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vub300_usb_bulk_msg
_vub300_usb_bulk_msg:                   ## @vub300_usb_bulk_msg
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	8(%rdi), %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_vub300_usb_bulk_msg_completion@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	$0, (%rsp)
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movq	%r14, %rcx
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	callq	_usb_fill_bulk_urb
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_init_completion
	movq	(%r12), %rdi
	movq	%rbx, 8(%rdi)
	movl	$0, (%rdi)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_msecs_to_jiffies
	leaq	-48(%rbp), %rdi
	movl	%eax, %esi
	callq	_wait_for_completion_timeout
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	(%r12), %rax
	movl	4(%rax), %ebx
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_4:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	(%r12), %rdi
	callq	_usb_kill_urb
LBB0_6:
	movq	(%r12), %rdi
	movl	(%rdi), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	callq	_usb_free_urb
	movq	$0, (%r12)
LBB0_7:
	movl	%ebx, %eax
	addq	$40, %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	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_vub300_usb_bulk_msg_completion,4,2 ## @vub300_usb_bulk_msg_completion
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_vub300_usb_bulk_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vub300_usb_bulk_msg
_vub300_usb_bulk_msg:                   ; @vub300_usb_bulk_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	ldr	x25, [x0, #8]
Lloh0:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _vub300_usb_bulk_msg_completion@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vub300_usb_bulk_msg_completion@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x6, #0
	bl	_usb_fill_bulk_urb
	add	x22, sp, #8
	add	x0, sp, #8
	bl	_init_completion
	ldr	x0, [x19]
	str	x22, [x0, #8]
	str	wzr, [x0]
	ldr	w1, [x26]
	bl	_usb_submit_urb
	mov	x22, x0
	bl	_unlikely
	cbnz	x0, LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_msecs_to_jiffies
	mov	x1, x0
	add	x0, sp, #8
	bl	_wait_for_completion_timeout
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x19]
	ldr	w22, [x8, #4]
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w22, w8
	ldr	x0, [x19]
	bl	_usb_kill_urb
LBB0_6:
	ldr	x0, [x19]
	ldr	w8, [x0]
	str	w8, [x20]
	bl	_usb_free_urb
	str	xzr, [x19]
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_vub300_usb_bulk_msg_completion,4,2 ; @vub300_usb_bulk_msg_completion
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_vub300_usb_bulk_msg
.subsections_via_symbols
