	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delay                          ## -- Begin function delay
	.p2align	4, 0x90
_delay:                                 ## @delay
	.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
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_cp0_count_get
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.1:
	movl	%eax, %r14d
	movl	$199, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	jle	LBB0_5
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_cp0_count_get
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	subl	%r14d, %ecx
	cmpl	$100, %ecx
	jl	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	decl	%ebx
	cmpl	$199, %ecx
	cmovgel	%r15d, %ecx
	addl	%r14d, %ecx
	subl	%ecx, %eax
	addl	$99, %eax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	shrq	$37, %rax
	cmpl	%ebx, %eax
	cmovael	%ebx, %eax
	testl	%ebx, %ebx
	cmovel	%ebx, %eax
	subl	%eax, %ebx
	imull	$100, %eax, %eax
	addl	%eax, %r14d
	addl	$100, %r14d
	jmp	LBB0_2
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delay                          ; -- Begin function delay
	.p2align	2
_delay:                                 ; @delay
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	bl	_cp0_count_get
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	w21, #199
	mov	w22, #34079
	movk	w22, #20971, lsl #16
	mov	w23, #100
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w20, #1
	b.lt	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_cp0_count_get
	sub	w8, w0, w19
	cmp	w8, #100
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w9, w20, #1
	cmp	w8, #199
	csel	w8, w8, w21, lt
	add	w8, w19, w8
	sub	w8, w0, w8
	add	w8, w8, #99
	umull	x8, w8, w22
	lsr	x8, x8, #37
	cmp	w8, w9
	csel	w8, w8, w9, lo
	cmp	w9, #0
	csel	w8, wzr, w8, eq
	sub	w20, w9, w8
	madd	w8, w8, w23, w19
	add	w19, w8, #100
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
