	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enter_syscall
_enter_syscall:                         ## @enter_syscall
	.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
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_alloc_syscall
	movl	(%r15), %r15d
	movq	24(%r12), %rdi
	callq	_nitems
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_MIN
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_PT_GET_SC_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r12), %edx
	movl	56(%r12), %esi
	movl	$8, %ecx
	callq	_ptrace
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_syscall                   ## TAILCALL
LBB0_2:
	movl	8(%r12), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_get_syscall
	movq	%rax, %r15
	cmpq	$0, 24(%rax)
	je	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	48(%r12), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movl	8(%r12), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_4:
	movq	(%r15), %rbx
	movq	%rbx, 16(%r12)
	movq	32(%r12), %rdi
	callq	_nitems
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setle	%dil
	callq	_assert
	movq	%r15, 40(%r12)
	movq	16(%r12), %rax
	testq	%rax, %rax
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	movq	_OUT@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	addq	$16, %rbx
	cmpq	%rax, %r14
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rdi
	movl	(%r13), %ecx
	testl	%ecx, 8(%rdi,%rbx)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	%rbx, %rdi
	movq	24(%r12), %rsi
	xorl	%edx, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_print_arg
	movq	32(%r12), %rcx
	movl	%eax, (%rcx,%r14,4)
	movq	16(%r12), %rax
	jmp	LBB0_8
LBB0_9:
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clock_gettime                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PT_GET_SC_ARGS,4,2             ## @PT_GET_SC_ARGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-- UNKNOWN %s SYSCALL %d --\n"

	.comm	_OUT,4,2                        ## @OUT
	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.comm	_stderr,4,2                     ## @stderr
	.no_dead_strip	_enter_syscall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enter_syscall
_enter_syscall:                         ; @enter_syscall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, x2
	bl	_alloc_syscall
	ldr	w21, [x21]
	ldr	x0, [x19, #24]
	bl	_nitems
	mov	x1, x0
	mov	x0, x21
	bl	_MIN
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _PT_GET_SC_ARGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PT_GET_SC_ARGS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #56]
	ldr	w2, [x19, #24]
	mov	w3, #8
	bl	_ptrace
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_free_syscall
LBB0_3:
	ldr	w1, [x19, #8]
	mov	x0, x19
	mov	x2, x21
	bl	_get_syscall
	mov	x21, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x20]
	ldr	x8, [x19, #48]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w9, [x19, #8]
	stp	x8, x9, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_5:
	ldr	x22, [x21]
	str	x22, [x19, #16]
	ldr	x0, [x19, #32]
	bl	_nitems
	cmp	x22, x0
	cset	w0, le
	bl	_assert
	str	x21, [x19, #40]
	ldr	x8, [x19, #16]
	cmp	x8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x22, #0
	mov	x23, #0
Lloh5:
	adrp	x24, _OUT@GOTPAGE
Lloh6:
	ldr	x24, [x24, _OUT@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	add	x22, x22, #16
	cmp	x23, x8
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #16]
	add	x0, x9, x22
	ldr	w9, [x0, #8]
	ldr	w10, [x24]
	tst	w10, w9
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [x19, #24]
	mov	x2, #0
	mov	x3, x20
	bl	_print_arg
	ldr	x8, [x19, #32]
	str	w0, [x8, x23, lsl #2]
	ldr	x8, [x19, #16]
	b	LBB0_7
LBB0_10:
Lloh7:
	adrp	x8, _CLOCK_REALTIME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_clock_gettime
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PT_GET_SC_ARGS,4,2             ; @PT_GET_SC_ARGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-- UNKNOWN %s SYSCALL %d --\n"

	.comm	_OUT,4,2                        ; @OUT
	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.comm	_stderr,4,2                     ; @stderr
	.no_dead_strip	_enter_syscall
.subsections_via_symbols
