	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1000000000, %r15d              ## imm = 0x3B9ACA00
	cmpl	$2, %edi
	jl	LBB0_2
## %bb.1:
	movq	8(%rsi), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	movq	%rax, %r15
	testq	%rax, %rax
	jle	LBB0_20
LBB0_2:
	incq	%r15
                                        ## implicit-def: $r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_get_random_uint64
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_get_random_uint64
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_get_random_uint64
	movq	%rax, %r12
	movl	%r14d, -56(%rbp)
	movl	%r13d, -52(%rbp)
	movl	%ebx, -48(%rbp)
	movslq	%r12d, %rsi
	leaq	-44(%rbp), %rdi
	callq	_int128_add_uint64
	cmpl	%r13d, -52(%rbp)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ebx, -48(%rbp)
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	%r12d, %r14d
	movl	%r14d, -56(%rbp)
	movl	%r13d, -52(%rbp)
	movl	%ebx, -48(%rbp)
	leaq	-44(%rbp), %rdi
	movl	%r12d, %esi
	callq	_int128_add_int64
	cmpl	%r13d, -52(%rbp)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ebx, -48(%rbp)
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, -52(%rbp)
	leaq	-44(%rbp), %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_int128_add_int64_mul_int64
	cmpl	%r13d, -52(%rbp)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ebx, -48(%rbp)
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	imull	%r13d, %ebx
	movl	%r12d, -52(%rbp)
	xorl	%eax, %eax
	callq	_get_random_uint64
	movl	%eax, -48(%rbp)
	movl	-56(%rbp), %esi
	movl	%ebx, %edi
	callq	_my_int128_compare
	movl	%eax, %r12d
	movl	-44(%rbp), %esi
	callq	_int128_compare
	cmpl	%eax, %r12d
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, -52(%rbp)
	movl	-56(%rbp), %esi
	movl	%ebx, %edi
	callq	_my_int128_compare
	movl	%eax, %r12d
	movl	-44(%rbp), %esi
	callq	_int128_compare
	cmpl	%eax, %r12d
	jne	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	decq	%r15
	movl	%ebx, %r14d
	cmpq	$1, %r15
	ja	LBB0_3
## %bb.19:
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_16:
	movl	-56(%rbp), %esi
	movl	%ebx, %edi
	callq	_my_int128_compare
	movl	%eax, %ebx
	movl	-44(%rbp), %esi
	callq	_int128_compare
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.7(%rip), %r14
	leaq	L_.str.6(%rip), %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_5:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_10:
	leaq	L_.str.3(%rip), %rdi
LBB0_6:
	movl	%r13d, %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_7
LBB0_13:
	leaq	L_.str.4(%rip), %rdi
	movl	%r13d, %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_printf
LBB0_7:
	leaq	L_.str.2(%rip), %r14
	leaq	L_.str.1(%rip), %rdi
LBB0_17:
	movl	%r13d, %esi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_printf
	movl	-52(%rbp), %esi
	movl	-48(%rbp), %edx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%016lX%016lX + unsigned %lX\n"

L_.str.1:                               ## @.str.1
	.asciz	"native = %016lX%016lX\n"

L_.str.2:                               ## @.str.2
	.asciz	"result = %016lX%016lX\n"

L_.str.3:                               ## @.str.3
	.asciz	"%016lX%016lX + signed %lX\n"

L_.str.4:                               ## @.str.4
	.asciz	"%lX * %lX\n"

L_.str.5:                               ## @.str.5
	.asciz	"comparison failure: %d vs %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"arg1 = %016lX%016lX\n"

L_.str.7:                               ## @.str.7
	.asciz	"arg2 = %016lX%016lX\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x1, #8]
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
	cmp	x0, #1
	b.ge	LBB0_3
	b	LBB0_12
LBB0_2:
	mov	w0, #51712
	movk	w0, #15258, lsl #16
LBB0_3:
	add	x8, sp, #16
	add	x21, x8, #12
	add	x24, x0, #1
                                        ; implicit-def: $w22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_get_random_uint64
	mov	x19, x0
	bl	_get_random_uint64
	mov	x20, x0
	bl	_get_random_uint64
	mov	x23, x0
	stp	w22, w19, [sp, #16]
	str	w20, [sp, #24]
	sxtw	x1, w0
	mov	x0, x21
	bl	_int128_add_uint64
	ldp	w8, w9, [sp, #20]
	cmp	w8, w19
	ccmp	w9, w20, #0, eq
	b.ne	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w22, w23
	stp	w8, w19, [sp, #16]
	str	w20, [sp, #24]
	mov	x0, x21
	mov	x1, x23
	bl	_int128_add_int64
	ldr	w8, [sp, #20]
	cmp	w8, w19
	b.ne	LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #24]
	cmp	w8, w20
	b.ne	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	wzr, wzr, [sp, #20]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_int128_add_int64_mul_int64
	ldr	w8, [sp, #20]
	cmp	w8, w19
	b.ne	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #24]
	cmp	w8, w20
	b.ne	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mul	w22, w20, w19
	str	w23, [sp, #20]
	bl	_get_random_uint64
	str	w0, [sp, #24]
	ldr	w1, [sp, #16]
	mov	x0, x22
	bl	_my_int128_compare
	mov	x23, x0
	ldr	w1, [sp, #28]
	bl	_int128_compare
	cmp	w23, w0
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	str	w19, [sp, #20]
	ldr	w1, [sp, #16]
	mov	x0, x22
	bl	_my_int128_compare
	mov	x23, x0
	ldr	w1, [sp, #28]
	bl	_int128_compare
	cmp	w23, w0
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	x24, x24, #1
	cmp	x24, #1
	b.hi	LBB0_4
LBB0_12:
	mov	w0, #0
	b	LBB0_19
LBB0_13:
	ldr	w1, [sp, #16]
	mov	x0, x22
	bl	_my_int128_compare
	mov	x21, x0
	ldr	w1, [sp, #28]
	bl	_int128_compare
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str.5@PAGE
Lloh1:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_printf
Lloh2:
	adrp	x21, l_.str.7@PAGE
Lloh3:
	add	x21, x21, l_.str.7@PAGEOFF
Lloh4:
	adrp	x0, l_.str.6@PAGE
Lloh5:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_18
LBB0_14:
	str	x23, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_17
LBB0_15:
	str	x23, [sp]
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_16:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_17:
	mov	x1, x19
	mov	x2, x20
	bl	_printf
Lloh12:
	adrp	x21, l_.str.2@PAGE
Lloh13:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_18:
	mov	x1, x19
	mov	x2, x20
	bl	_printf
	ldp	w1, w2, [sp, #20]
	mov	x0, x21
	bl	_printf
	mov	w0, #1
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%016lX%016lX + unsigned %lX\n"

l_.str.1:                               ; @.str.1
	.asciz	"native = %016lX%016lX\n"

l_.str.2:                               ; @.str.2
	.asciz	"result = %016lX%016lX\n"

l_.str.3:                               ; @.str.3
	.asciz	"%016lX%016lX + signed %lX\n"

l_.str.4:                               ; @.str.4
	.asciz	"%lX * %lX\n"

l_.str.5:                               ; @.str.5
	.asciz	"comparison failure: %d vs %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"arg1 = %016lX%016lX\n"

l_.str.7:                               ; @.str.7
	.asciz	"arg2 = %016lX%016lX\n"

.subsections_via_symbols
