	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_map_open
_exec_map_open:                         ## @exec_map_open
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	movq	%rdi, -80(%rbp)
	movq	%rsi, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	_O_NOCTTY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_open
	movl	$-1, %r12d
	testl	%eax, %eax
	js	LBB0_29
## %bb.3:
	movl	%eax, %ebx
	movl	%eax, %r14d
	leaq	-56(%rbp), %rdi
	callq	_pipe
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	callq	_vfork
	cmpl	$-1, %eax
	je	LBB0_32
## %bb.6:
	testl	%eax, %eax
	je	LBB0_7
## %bb.23:
	movl	%eax, %r15d
	movl	%r14d, %edi
	callq	_close
	movl	-52(%rbp), %edi
	callq	_close
	xorl	%ebx, %ebx
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_EINTR@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%ebx, %edx
	callq	_waitpid
	testq	%rax, %rax
	jns	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	(%r14), %rdi
	cmpq	(%r13), %rdi
	je	LBB0_24
## %bb.26:
	callq	_exit
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_30
LBB0_4:
	movl	%r14d, %edi
	jmp	LBB0_28
LBB0_32:
	movl	%r14d, %edi
	callq	_close
	movl	-56(%rbp), %edi
	callq	_close
	movl	-52(%rbp), %edi
	jmp	LBB0_28
LBB0_27:
	movl	-56(%rbp), %edi
	callq	_set_nonblock
	movl	-56(%rbp), %edi
	movl	%edi, %ecx
	testl	%eax, %eax
	jne	LBB0_30
LBB0_28:
	callq	_close
LBB0_29:
	movl	%r12d, %ecx
LBB0_30:
	movl	%ecx, %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_34
## %bb.31:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	callq	___stack_chk_fail
LBB0_7:
	callq	_vfork
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.22:
	xorl	%eax, %eax
	movl	%eax, %edi
	callq	_exit
LBB0_10:
	movl	-52(%rbp), %edi
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	cmpl	%esi, %edi
	je	LBB0_12
## %bb.11:
	callq	_dup2
	movl	-52(%rbp), %edi
	callq	_close
LBB0_12:
	movq	_STDERR_FILENO@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	cmpl	%esi, %ebx
	je	LBB0_14
## %bb.13:
	movl	%r14d, %edi
	callq	_dup2
	movl	%r14d, %edi
	callq	_close
LBB0_14:
	movq	_FD_SETSIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_20
## %bb.15:
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%eax, %ecx
	movl	%ebx, %edx
	incl	%edx
	movl	%edx, %ebx
	cmpl	%eax, %edx
	jge	LBB0_20
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%r12), %ebx
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	(%r13), %ebx
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%ebx, %edi
	callq	_close
	movl	(%r14), %eax
	jmp	LBB0_19
LBB0_20:
	movl	(%r12), %edi
	callq	_set_nonblock
	testl	%eax, %eax
	jne	LBB0_21
## %bb.33:
	movl	(%r12), %edi
	callq	_close
	movq	$-1, %rdi
	callq	_exit
LBB0_21:
	xorl	%eax, %eax
	movl	%eax, %edx
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	callq	_execve
LBB0_9:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/null"

	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_NOCTTY,4,2                   ## @O_NOCTTY
	.comm	_errno,8,3                      ## @errno
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
	.comm	_FD_SETSIZE,4,2                 ## @FD_SETSIZE
	.comm	_EINTR,8,3                      ## @EINTR
	.no_dead_strip	_exec_map_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_map_open
_exec_map_open:                         ; @exec_map_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	stp	x0, x1, [sp, #8]
Lloh3:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
	str	xzr, [sp, #24]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _O_NOCTTY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _O_NOCTTY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
	tbnz	w0, #31, LBB0_13
; %bb.2:
	mov	x21, x0
	mov	x20, x0
	add	x0, sp, #32
	bl	_pipe
	tbnz	x0, #63, LBB0_12
; %bb.3:
	bl	_vfork
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.4:
	cbz	w0, LBB0_17
; %bb.5:
	mov	x22, x0
	mov	x0, x20
	bl	_close
	ldr	w0, [sp, #36]
	bl	_close
Lloh11:
	adrp	x19, _errno@GOTPAGE
Lloh12:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
Lloh13:
	adrp	x20, _EINTR@GOTPAGE
Lloh14:
	ldr	x20, [x20, _EINTR@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	w1, #0
	mov	x0, x22
	mov	w2, #0
	bl	_waitpid
	tbz	x0, #63, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19]
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.8:
	bl	_exit
LBB0_9:
	mov	w1, #0
	b	LBB0_14
LBB0_10:
	mov	x0, x20
	bl	_close
	ldr	w0, [sp, #32]
	bl	_close
	ldr	w20, [sp, #36]
	b	LBB0_12
LBB0_11:
	ldr	w0, [sp, #32]
	bl	_set_nonblock
	ldr	w20, [sp, #32]
	mov	x1, x20
	cbnz	w0, LBB0_14
LBB0_12:
	mov	x0, x20
	bl	_close
LBB0_13:
	mov	w1, #-1
LBB0_14:
	ldr	x8, [sp, #40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
	bl	___stack_chk_fail
LBB0_17:
	bl	_vfork
	cbz	w0, LBB0_20
; %bb.18:
	cmn	w0, #1
	b.eq	LBB0_32
; %bb.19:
	mov	x0, #0
	bl	_exit
LBB0_20:
	ldr	w0, [sp, #36]
Lloh18:
	adrp	x22, _STDOUT_FILENO@GOTPAGE
Lloh19:
	ldr	x22, [x22, _STDOUT_FILENO@GOTPAGEOFF]
	ldr	w1, [x22]
	cmp	w0, w1
	b.eq	LBB0_22
; %bb.21:
	bl	_dup2
	ldr	w0, [sp, #36]
	bl	_close
LBB0_22:
Lloh20:
	adrp	x8, _STDERR_FILENO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
	mov	x23, x8
	ldr	w1, [x8]
	cmp	w21, w1
	b.eq	LBB0_24
; %bb.23:
	mov	x0, x20
	bl	_dup2
	mov	x0, x20
	bl	_close
LBB0_24:
Lloh22:
	adrp	x21, _FD_SETSIZE@GOTPAGE
Lloh23:
	ldr	x21, [x21, _FD_SETSIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.25:
	mov	w20, #0
	mov	x0, x8
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	add	w9, w20, #1
	mov	x20, x9
	mov	x0, x8
	cmp	w9, w8
	b.ge	LBB0_29
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldr	w9, [x23]
	cmp	w20, w8
	ccmp	w20, w9, #4, ne
	mov	x8, x0
	b.eq	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x0, x20
	bl	_close
	ldr	w8, [x21]
	b	LBB0_26
LBB0_29:
	ldr	w0, [x22]
	bl	_set_nonblock
	cbnz	w0, LBB0_31
; %bb.30:
	ldr	w0, [x22]
	bl	_close
	mov	x0, #-1
	bl	_exit
LBB0_31:
	mov	x2, #0
	add	x1, sp, #8
	mov	x0, x19
	bl	_execve
LBB0_32:
Lloh24:
	adrp	x8, _errno@GOTPAGE
Lloh25:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh26:
	ldr	x0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/null"

	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_NOCTTY,4,2                   ; @O_NOCTTY
	.comm	_errno,8,3                      ; @errno
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
	.comm	_FD_SETSIZE,4,2                 ; @FD_SETSIZE
	.comm	_EINTR,8,3                      ; @EINTR
	.no_dead_strip	_exec_map_open
.subsections_via_symbols
