	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function command_out_completed
_command_out_completed:                 ## @command_out_completed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rbx
	cmpq	$0, (%rdi)
	jne	LBB0_3
## %bb.1:
	movl	20(%rbx), %edi
	movl	24(%rbx), %esi
	callq	_usb_rcvbulkpipe
	movq	8(%rbx), %rdi
	movl	20(%rbx), %esi
	leaq	16(%rbx), %rcx
	movq	_command_res_completed@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	%rbx, (%rsp)
	movl	%eax, %edx
	movl	$4, %r8d
	callq	_usb_fill_bulk_urb
	movq	8(%rbx), %rdi
	movq	$0, (%rdi)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_complete                       ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_command_res_completed,4,2      ## @command_res_completed
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_command_out_completed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function command_out_completed
_command_out_completed:                 ; @command_out_completed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	x8, x19, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
	ldp	w0, w1, [x19, #20]
	bl	_usb_rcvbulkpipe
	mov	x2, x0
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #20]
	add	x3, x19, #16
Lloh0:
	adrp	x8, _command_res_completed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _command_res_completed@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	mov	w4, #4
	mov	x6, x19
	bl	_usb_fill_bulk_urb
	ldr	x0, [x19, #8]
	str	xzr, [x0]
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	cbz	w0, LBB0_3
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_complete
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_command_res_completed,4,2      ; @command_res_completed
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_command_out_completed
.subsections_via_symbols
