	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ud_input_skip                  ## -- Begin function ud_input_skip
	.p2align	4, 0x90
_ud_input_skip:                         ## @ud_input_skip
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	je	LBB0_1
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 32(%rdi)
	je	LBB0_2
## %bb.5:
	movq	16(%r14), %rax
	movq	%rax, %rdx
	subq	%rbx, %rdx
	jb	LBB0_7
## %bb.6:
	movq	24(%r14), %rcx
	cmpq	%rdx, %rcx
	jbe	LBB0_9
LBB0_7:
	movq	%rax, 24(%r14)
	jmp	LBB0_8
LBB0_2:
	incq	%rbx
	movq	_UD_EOI@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	decq	%rbx
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	*8(%r14)
	cmpl	(%r15), %eax
	jne	LBB0_3
LBB0_8:
	movl	$1, (%r14)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UDERR                          ## TAILCALL
LBB0_9:
	addq	%rbx, %rcx
	movq	%rcx, 24(%r14)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_UD_EOI,4,2                     ## @UD_EOI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot skip, eoi received\b"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ud_input_skip                  ; -- Begin function ud_input_skip
	.p2align	2
_ud_input_skip:                         ; @ud_input_skip
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_2
LBB0_1:
	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
LBB0_2:
	mov	x19, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x8, [x19, #16]
	subs	x9, x8, x1
	b.lo	LBB0_5
; %bb.4:
	ldr	x10, [x19, #24]
	cmp	x10, x9
	b.ls	LBB0_10
LBB0_5:
	str	x8, [x19, #24]
	b	LBB0_9
LBB0_6:
	add	x20, x1, #1
Lloh0:
	adrp	x21, _UD_EOI@GOTPAGE
Lloh1:
	ldr	x21, [x21, _UD_EOI@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	subs	x20, x20, #1
	b.eq	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_7
LBB0_9:
	mov	w8, #1
	str	w8, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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
	b	_UDERR
LBB0_10:
	add	x8, x10, x1
	str	x8, [x19, #24]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_UD_EOI,4,2                     ; @UD_EOI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot skip, eoi received\b"

.subsections_via_symbols
