	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_usb_get_hexline            ## -- Begin function dvb_usb_get_hexline
	.p2align	4, 0x90
_dvb_usb_get_hexline:                   ## @dvb_usb_get_hexline
	.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
	movslq	(%rdx), %rbx
	xorl	%r13d, %r13d
	cmpl	(%rdi), %ebx
	jge	LBB0_6
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	shlq	$2, %rbx
	addq	8(%rdi), %rbx
	xorl	%r13d, %r13d
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movl	(%rbx), %edx
	movl	%edx, (%r15)
	movl	(%r14), %eax
	addl	%edx, %eax
	addl	$4, %eax
	cmpl	(%r12), %eax
	jge	LBB0_2
## %bb.3:
	movl	8(%rbx), %eax
	shll	$8, %eax
	orl	4(%rbx), %eax
	movl	%eax, 4(%r15)
	movl	12(%rbx), %ecx
	movl	%ecx, 8(%r15)
	cmpl	$4, %ecx
	jne	LBB0_5
## %bb.4:
	movl	16(%rbx), %ecx
	movl	20(%rbx), %esi
	shll	$24, %ecx
	shll	$16, %esi
	orl	%eax, %ecx
	orl	%esi, %ecx
	movl	%ecx, 4(%r15)
LBB0_5:
	movl	16(%r15), %edi
	leaq	16(%rbx), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movslq	(%r15), %rax
	movl	16(%rbx,%rax,4), %ecx
	movl	%ecx, 12(%r15)
	movl	(%r14), %ecx
	leal	(%rax,%rcx), %r13d
	addl	$5, %r13d
	movl	%r13d, (%r14)
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_6:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_usb_get_hexline            ; -- Begin function dvb_usb_get_hexline
	.p2align	2
_dvb_usb_get_hexline:                   ; @dvb_usb_get_hexline
	.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
	ldrsw	x8, [x2]
	ldr	w9, [x0]
	cmp	w8, w9
	b.ge	LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x9, [x0, #8]
	add	x22, x9, x8, lsl #2
	mov	x0, x1
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	ldr	w2, [x22]
	str	w2, [x20]
	ldr	w8, [x19]
	add	w8, w2, w8
	add	w8, w8, #4
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_6
; %bb.2:
	ldp	w8, w9, [x22, #4]
	orr	w8, w8, w9, lsl #8
	str	w8, [x20, #4]
	ldr	w9, [x22, #12]
	str	w9, [x20, #8]
	cmp	w9, #4
	b.ne	LBB0_4
; %bb.3:
	ldp	w9, w10, [x22, #16]
	orr	w8, w8, w9, lsl #24
	orr	w8, w8, w10, lsl #16
	str	w8, [x20, #4]
LBB0_4:
	ldr	w0, [x20, #16]
	add	x1, x22, #16
	bl	_memcpy
	ldr	w8, [x20]
	add	w9, w8, #4
	ldr	w9, [x22, w9, sxtw #2]
	str	w9, [x20, #12]
	ldr	w9, [x19]
	add	w8, w8, w9
	add	w0, w8, #5
	str	w0, [x19]
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
