	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ztest_thread
_ztest_thread:                          ## @ztest_thread
	.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
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_ztest_shared@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_gethrtime
	cmpq	(%rbx), %rax
	jge	LBB0_9
## %bb.1:
	movq	%rax, %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_gethrtime
	movq	%rax, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	(%rbx), %rax
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	8(%rbx), %r12
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_ztest_kill
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$10, 16(%rbx)
	jg	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ZTEST_FUNCS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ztest_random
	movq	%rax, %rbx
	movslq	%ebx, %rdi
	leaq	(,%rdi,8), %r13
	movq	_ztest_info@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ZTEST_GET_SHARED_CALLSTATE
	movq	(%rax), %r14
	cmpq	%r14, %r12
	jl	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	(%r13), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax), %edi
	incl	%edi
	callq	_ztest_random
	leaq	(%rax,%r14), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_atomic_cas_64
	cmpq	%r14, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_ztest_execute
	jmp	LBB0_8
LBB0_9:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ztest_shared,8,3               ## @ztest_shared
	.comm	_ZTEST_FUNCS,4,2                ## @ZTEST_FUNCS
	.comm	_ztest_info,8,3                 ## @ztest_info
	.no_dead_strip	_ztest_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ztest_thread
_ztest_thread:                          ; @ztest_thread
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _ztest_shared@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ztest_shared@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	bl	_gethrtime
	ldr	x8, [x20]
	cmp	x0, x8
	b.ge	LBB0_9
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x25, _ZTEST_FUNCS@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ZTEST_FUNCS@GOTPAGEOFF]
Lloh5:
	adrp	x26, _ztest_info@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ztest_info@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_gethrtime
	mov	x21, x0
	ldr	x8, [x20]
	cmp	x0, x8
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	cmp	x21, x8
	b.le	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_ztest_kill
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #16]
	cmp	w8, #10
	b.gt	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	bl	_ztest_random
	mov	x22, x0
	ldr	x27, [x26]
	bl	_ZTEST_GET_SHARED_CALLSTATE
	ldr	x23, [x0]
	cmp	x21, x23
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	lsl	x8, x22, #32
	add	x21, x27, x8, asr #29
	ldr	x8, [x21]
	ldr	w8, [x8]
	mov	w0, #1
	bfi	w0, w8, #1, #31
	bl	_ztest_random
	add	x2, x0, x23
	mov	x0, x24
	mov	x1, x23
	bl	_atomic_cas_64
	cmp	x0, x23
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_ztest_execute
	b	LBB0_2
LBB0_9:
	mov	x0, #0
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ztest_shared,8,3               ; @ztest_shared
	.comm	_ZTEST_FUNCS,4,2                ; @ZTEST_FUNCS
	.comm	_ztest_info,8,3                 ; @ztest_info
	.no_dead_strip	_ztest_thread
.subsections_via_symbols
