	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__sys_execve                    ## -- Begin function _sys_execve
	.p2align	4, 0x90
__sys_execve:                           ## @_sys_execve
	.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	%edx, %r12d
	movl	%esi, %r15d
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	%r14d, %edi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_user_read_string
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	__EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_17
LBB0_2:
	movq	__ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ARGV_MAX@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movl	(%r14), %edx
	movl	%r15d, %edi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_user_read_string_array
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	movl	(%r14), %edi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	(%r14), %edx
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_user_read_string_array
	testl	%eax, %eax
	js	LBB0_6
## %bb.10:
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_STRACE
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	je	LBB0_13
## %bb.11:
	leaq	L_.str.1(%rip), %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_STRACE
	movq	%rbx, %rdi
	callq	_strlen
	cmpb	$0, 1(%rax,%rbx)
	leaq	1(%rax,%rbx), %rbx
	jne	LBB0_12
LBB0_13:
	cmpb	$0, (%r15)
	je	LBB0_16
## %bb.14:
	leaq	L_.str.1(%rip), %r12
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_STRACE
	movq	%rbx, %rdi
	callq	_strlen
	cmpb	$0, 1(%rax,%rbx)
	leaq	1(%rax,%rbx), %rbx
	jne	LBB0_15
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_STRACE
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_sys_execve
	movl	%eax, %ebx
	jmp	LBB0_17
LBB0_6:
	movl	%eax, %ebx
LBB0_7:
	movq	%r15, %rdi
	callq	_free
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_9:
	movq	%rax, %rdi
	callq	_free
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	__EFAULT,4,2                    ## @_EFAULT
	.comm	__ENOMEM,4,2                    ## @_ENOMEM
	.comm	_ARGV_MAX,4,2                   ## @ARGV_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"execve(\"%s\", {"

L_.str.1:                               ## @.str.1
	.asciz	"\"%s\", "

L_.str.2:                               ## @.str.2
	.asciz	"})"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__sys_execve                    ; -- Begin function _sys_execve
	.p2align	2
__sys_execve:                           ; @_sys_execve
	.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
	sub	sp, sp, #16
	mov	x23, x2
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x9, x2
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_user_read_string
	cbz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, __EFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	b	LBB0_16
LBB0_2:
Lloh11:
	adrp	x8, __ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, __ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
Lloh14:
	adrp	x24, _ARGV_MAX@GOTPAGE
Lloh15:
	ldr	x24, [x24, _ARGV_MAX@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_15
; %bb.3:
	ldr	w2, [x24]
	mov	x0, x21
	mov	x1, x19
	bl	_user_read_string_array
	mov	x22, x0
	tbnz	w0, #31, LBB0_15
; %bb.4:
	ldr	w0, [x24]
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_14
; %bb.5:
	ldr	w2, [x24]
	mov	x0, x23
	mov	x1, x21
	bl	_user_read_string_array
	tbnz	w0, #31, LBB0_13
; %bb.6:
	str	x20, [sp, #-16]!
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_STRACE
	add	sp, sp, #16
	ldrb	w8, [x19]
	cbz	w8, LBB0_9
; %bb.7:
Lloh18:
	adrp	x22, l_.str.1@PAGE
Lloh19:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x23, x19
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	x23, [sp, #-16]!
	mov	x0, x22
	bl	_STRACE
	add	sp, sp, #16
	mov	x0, x23
	bl	_strlen
	add	x23, x0, x23
	ldrb	w8, [x23, #1]!
	cbnz	w8, LBB0_8
LBB0_9:
	ldrb	w8, [x21]
	cbz	w8, LBB0_12
; %bb.10:
Lloh20:
	adrp	x22, l_.str.1@PAGE
Lloh21:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x23, x21
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	x23, [sp, #-16]!
	mov	x0, x22
	bl	_STRACE
	add	sp, sp, #16
	mov	x0, x23
	bl	_strlen
	add	x23, x0, x23
	ldrb	w8, [x23, #1]!
	cbnz	w8, LBB0_11
LBB0_12:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_STRACE
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_sys_execve
	mov	x22, x0
	b	LBB0_16
LBB0_13:
	mov	x22, x0
LBB0_14:
	mov	x0, x21
	bl	_free
LBB0_15:
	mov	x0, x19
	bl	_free
LBB0_16:
	ldur	x8, [x29, #-56]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x22
	sub	sp, x29, #48
	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
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	__EFAULT,4,2                    ; @_EFAULT
	.comm	__ENOMEM,4,2                    ; @_ENOMEM
	.comm	_ARGV_MAX,4,2                   ; @ARGV_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"execve(\"%s\", {"

l_.str.1:                               ; @.str.1
	.asciz	"\"%s\", "

l_.str.2:                               ; @.str.2
	.asciz	"})"

.subsections_via_symbols
