	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trace__sys_enter
_trace__sys_enter:                      ## @trace__sys_enter
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	addq	$4, %rdi
	movl	4(%rdx), %esi
	callq	_machine__findnew_thread
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_trace__syscall_info
	movq	%rax, %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_thread__trace
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	testq	%r12, %r12
	je	LBB0_11
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_perf_evsel__rawptr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	movq	(%r13), %r15
	testq	%r15, %r15
	jne	LBB0_6
## %bb.5:
	movl	$1024, %edi                     ## imm = 0x400
	callq	_malloc
	movq	%rax, %r15
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_11
LBB0_6:
	movl	(%r14), %eax
	movl	%eax, 12(%r13)
	movl	(%r12), %ecx
	leaq	L_.str.2(%rip), %rdx
	movl	$1024, %ebx                     ## imm = 0x400
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_scnprintf
	addq	%rax, %r15
	subl	%eax, %ebx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_syscall__scnprintf_args
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.10:
	movl	$1, 8(%r13)
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_3:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_11
LBB0_8:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_11
## %bb.9:
	movl	(%r14), %ecx
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_trace__fprintf_entry_head
	movq	(%r13), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_printf
LBB0_11:
	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	"args"

L_.str.2:                               ## @.str.2
	.asciz	"%s("

L_.str.3:                               ## @.str.3
	.asciz	"exit_group"

L_.str.4:                               ## @.str.4
	.asciz	"exit"

	.comm	_stdout,4,2                     ## @stdout
L_.str.5:                               ## @.str.5
	.asciz	"%-70s\n"

L_str:                                  ## @str
	.asciz	"Problems reading syscall arguments"

	.no_dead_strip	_trace__sys_enter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trace__sys_enter
_trace__sys_enter:                      ; @trace__sys_enter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	add	x0, x0, #4
	ldr	w1, [x2, #4]
	bl	_machine__findnew_thread
	mov	x21, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	bl	_trace__syscall_info
	mov	x22, x0
	mov	x0, x21
	bl	_thread__trace
	cmp	x0, #0
	ccmp	x22, #0, #4, ne
	b.eq	LBB0_8
; %bb.1:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x20
	bl	_perf_evsel__rawptr
	cbz	x0, LBB0_7
; %bb.2:
	mov	x23, x0
	ldr	x25, [x21]
	ldr	x24, [x25]
	cbnz	x24, LBB0_4
; %bb.3:
	mov	w0, #1024
	bl	_malloc
	mov	x24, x0
	str	x0, [x25]
	cbz	x0, LBB0_8
LBB0_4:
	ldr	w8, [x20]
	str	w8, [x25, #12]
	ldr	w3, [x22]
Lloh2:
	adrp	x2, l_.str.2@PAGE
Lloh3:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w26, #1024
	mov	x0, x24
	mov	w1, #1024
	bl	_scnprintf
	add	x1, x24, x0
	sub	w2, w26, w0
	mov	x0, x22
	mov	x3, x23
	bl	_syscall__scnprintf_args
	ldr	w0, [x22]
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.5:
	ldr	w0, [x22]
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.6:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x25, #8]
	b	LBB0_9
LBB0_7:
Lloh8:
	adrp	x0, l_str@PAGE
Lloh9:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_8:
	mov	w0, #-1
LBB0_9:
	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
	add	sp, sp, #96
	ret
LBB0_10:
	ldr	w8, [x19]
	cbz	w8, LBB0_12
; %bb.11:
	mov	w0, #0
	b	LBB0_9
LBB0_12:
	ldr	w3, [x20]
Lloh10:
	adrp	x8, _stdout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_trace__fprintf_entry_head
	ldr	x8, [x25]
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	mov	w0, #0
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"args"

l_.str.2:                               ; @.str.2
	.asciz	"%s("

l_.str.3:                               ; @.str.3
	.asciz	"exit_group"

l_.str.4:                               ; @.str.4
	.asciz	"exit"

	.comm	_stdout,4,2                     ; @stdout
l_.str.5:                               ; @.str.5
	.asciz	"%-70s\n"

l_str:                                  ; @str
	.asciz	"Problems reading syscall arguments"

	.no_dead_strip	_trace__sys_enter
.subsections_via_symbols
