	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_in_urb
_read_in_urb:                           ## @read_in_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, 36(%rdi)
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdx), %rax
	cmpq	(%rdi), %rax
	jl	LBB0_12
## %bb.2:
	movl	32(%rbx), %eax
	cmpl	$3, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$2, %eax
	je	LBB0_6
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_read_in_urb_mode0
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	callq	_read_in_urb_mode3
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	callq	_read_in_urb_mode2
LBB0_8:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	cmpq	$0, 16(%rbx)
	je	LBB0_12
LBB0_10:
	cmpl	$0, 8(%rbx)
	jne	LBB0_12
## %bb.11:
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	cmpq	$0, 16(%rbx)
	leaq	L_.str.3(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rdi
	callq	_debug
	movl	$1, 8(%rbx)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"streaming error detected %s %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"(input)"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"(output)"

	.no_dead_strip	_read_in_urb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_in_urb
_read_in_urb:                           ; @read_in_urb
	.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
	ldr	w8, [x0, #36]
	cbz	w8, LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	x8, [x2]
	ldr	x9, [x0]
	cmp	x8, x9
	b.lt	LBB0_12
; %bb.2:
	ldr	w8, [x19, #32]
	cmp	w8, #3
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #2
	b.eq	LBB0_8
; %bb.4:
	cbnz	w8, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_read_in_urb_mode0
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_10
	b	LBB0_9
LBB0_6:
	mov	x0, x19
	bl	_read_in_urb_mode3
LBB0_7:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_10
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_read_in_urb_mode2
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_10
LBB0_9:
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_12
LBB0_10:
	ldr	w9, [x19, #8]
	cbnz	w9, LBB0_12
; %bb.11:
Lloh0:
	adrp	x9, l_.str.1@PAGE
Lloh1:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
	ldr	x8, [x19, #16]
Lloh4:
	adrp	x9, l_.str.3@PAGE
Lloh5:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x8, #0
	csel	x2, x10, x9, eq
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"streaming error detected %s %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"(input)"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"(output)"

	.no_dead_strip	_read_in_urb
.subsections_via_symbols
