	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function procfs_create_inferior
_procfs_create_inferior:                ## @procfs_create_inferior
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -88(%rbp)
	movq	%rax, -80(%rbp)
	movq	%rax, -72(%rbp)
	movq	%rsi, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	20(,%rax,4), %edi
	andl	$-8, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movl	$1, %edi
	callq	_get_exec_file
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	testq	%r15, %r15
	je	LBB0_34
## %bb.2:
	movq	%r15, (%rbx)
LBB0_3:
	movq	%r14, %rdi
	callq	_xstrdup
	movq	%rax, %rdi
	xorl	%eax, %eax
	testq	%r15, %r15
	setne	%al
	leaq	(%rbx,%rax,8), %rsi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	callq	_breakup_args
	leaq	-88(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_nto_parse_redirection
	movq	%rax, %r15
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_inferior_io_terminal@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-88(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	cmpb	$0, (%rdi)
	jne	LBB0_6
## %bb.5:
	movq	%rax, -88(%rbp)
	movq	%rax, %rdi
LBB0_6:
	movq	-80(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_8
## %bb.7:
	movq	%rax, -80(%rbp)
LBB0_8:
	movq	-72(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_10
## %bb.9:
	movq	%rax, -72(%rbp)
LBB0_10:
	cmpb	$0, (%rdi)
	je	LBB0_14
## %bb.11:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.13:
	movl	%eax, -60(%rbp)
LBB0_14:
	movq	-80(%rbp), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_18
## %bb.15:
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_16
## %bb.17:
	movl	%eax, -56(%rbp)
LBB0_18:
	movq	-72(%rbp), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_22
## %bb.19:
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_20
## %bb.21:
	movl	%eax, -52(%rbp)
LBB0_22:
	movq	_SIGUSR1@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_signal
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_signal
	leaq	-108(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIG_UNBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_nto_procfs_node@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_ND_LOCAL_NODE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_ND_NODE_CMP
	testq	%rax, %rax
	je	LBB0_23
## %bb.24:
	xorl	%eax, %eax
	callq	_nto_node
	movl	%eax, -96(%rbp)
	movq	_SPAWN_SETND@GOTPCREL(%rip), %rax
	movl	-104(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_SPAWN_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	jmp	LBB0_25
LBB0_23:
	movl	-104(%rbp), %eax
LBB0_25:
	movq	_SPAWN_SETGROUP@GOTPCREL(%rip), %rcx
	movq	_SPAWN_HOLD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	orl	%eax, %edx
	movl	%edx, -104(%rbp)
	movq	_SPAWN_NEWPGROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)
	movq	(%r15), %rbx
	movl	(%r13), %edi
	movl	(%r14), %esi
	callq	_ND_NODE_CMP
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovneq	%rcx, %r12
	leaq	-60(%rbp), %rdx
	leaq	-104(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$3, %esi
	movq	%r15, %r8
	movq	%r12, %r9
	callq	_spawnp
	movl	%eax, %ebx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_xfree
	movq	_SIG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-108(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	cmpl	$-1, %ebx
	jne	LBB0_27
## %bb.26:
	movq	(%r15), %r14
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_safe_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_error
LBB0_27:
	movl	-60(%rbp), %edi
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_29
## %bb.28:
	callq	_close
LBB0_29:
	movl	-56(%rbp), %edi
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_31
## %bb.30:
	callq	_close
LBB0_31:
	movl	-52(%rbp), %edi
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_33
## %bb.32:
	callq	_close
LBB0_33:
	movl	%ebx, %edi
	callq	_pid_to_ptid
	movl	%eax, %edi
	callq	_do_attach
	movq	_inferior_ptid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_attach_flag@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	__DEBUG_FLAG_KLC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	movq	_ctl_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DCMD_PROC_SET_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-112(%rbp), %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	callq	_devctl
	movq	_procfs_ops@GOTPCREL(%rip), %rdi
	callq	_push_target
	xorl	%eax, %eax
	callq	_target_terminal_init
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_36
## %bb.35:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	-88(%rbp), %rdi
	callq	_perror
	jmp	LBB0_14
LBB0_16:
	movq	-80(%rbp), %rdi
	callq	_perror
	jmp	LBB0_18
LBB0_20:
	movq	-72(%rbp), %rdi
	callq	_perror
	jmp	LBB0_22
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
	.comm	_inferior_io_terminal,8,3       ## @inferior_io_terminal
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIG_UNBLOCK,4,2                ## @SIG_UNBLOCK
	.comm	_nto_procfs_node,4,2            ## @nto_procfs_node
	.comm	_ND_LOCAL_NODE,4,2              ## @ND_LOCAL_NODE
	.comm	_SPAWN_SETND,4,2                ## @SPAWN_SETND
	.comm	_SPAWN_EXEC,4,2                 ## @SPAWN_EXEC
	.comm	_SPAWN_SETGROUP,4,2             ## @SPAWN_SETGROUP
	.comm	_SPAWN_HOLD,4,2                 ## @SPAWN_HOLD
	.comm	_SPAWN_NEWPGROUP,4,2            ## @SPAWN_NEWPGROUP
	.comm	_SIG_BLOCK,4,2                  ## @SIG_BLOCK
L_.str.1:                               ## @.str.1
	.asciz	"Error spawning %s: %d (%s)"

	.comm	_errno,8,3                      ## @errno
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_attach_flag,8,3                ## @attach_flag
	.comm	__DEBUG_FLAG_KLC,4,2            ## @_DEBUG_FLAG_KLC
	.comm	_ctl_fd,4,2                     ## @ctl_fd
	.comm	_DCMD_PROC_SET_FLAG,4,2         ## @DCMD_PROC_SET_FLAG
	.comm	_EOK,4,2                        ## @EOK
	.comm	_procfs_ops,4,2                 ## @procfs_ops
	.comm	_exec_bfd,8,3                   ## @exec_bfd
	.comm	_symfile_objfile,8,3            ## @symfile_objfile
	.no_dead_strip	_procfs_create_inferior
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function procfs_create_inferior
_procfs_create_inferior:                ; @procfs_create_inferior
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	stp	x8, x8, [sp, #24]
	str	x8, [sp, #16]
	mov	x0, x1
	bl	_strlen
	lsl	w8, w0, #2
	add	w8, w8, #20
	and	w0, w8, #0xfffffff8
	bl	_xmalloc
	mov	x22, x0
	mov	w0, #1
	bl	_get_exec_file
	str	x0, [x22]
	cbnz	x0, LBB0_3
; %bb.1:
	cbz	x21, LBB0_31
; %bb.2:
	str	x21, [x22]
LBB0_3:
	mov	x0, x20
	bl	_xstrdup
	mov	x20, x0
	cmp	x21, #0
	cset	w8, ne
	add	x1, x22, w8, uxtw #3
	bl	_breakup_args
	add	x1, sp, #32
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x22
	bl	_nto_parse_redirection
	mov	x21, x0
Lloh5:
	adrp	x25, _STDIN_FILENO@GOTPAGE
Lloh6:
	ldr	x25, [x25, _STDIN_FILENO@GOTPAGEOFF]
Lloh7:
	adrp	x24, _STDOUT_FILENO@GOTPAGE
Lloh8:
	ldr	x24, [x24, _STDOUT_FILENO@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x24]
	stp	w8, w9, [sp, #60]
Lloh9:
	adrp	x23, _STDERR_FILENO@GOTPAGE
Lloh10:
	ldr	x23, [x23, _STDERR_FILENO@GOTPAGEOFF]
	ldr	w8, [x23]
	str	w8, [sp, #68]
Lloh11:
	adrp	x8, _inferior_io_terminal@GOTPAGE
Lloh12:
	ldr	x8, [x8, _inferior_io_terminal@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [sp, #32]
	cbz	x8, LBB0_10
; %bb.4:
	ldrb	w9, [x0]
	cbnz	w9, LBB0_6
; %bb.5:
	str	x8, [sp, #32]
	mov	x0, x8
LBB0_6:
	ldr	x9, [sp, #24]
	ldrb	w9, [x9]
	cbnz	w9, LBB0_8
; %bb.7:
	str	x8, [sp, #24]
LBB0_8:
	ldr	x9, [sp, #16]
	ldrb	w9, [x9]
	cbnz	w9, LBB0_10
; %bb.9:
	str	x8, [sp, #16]
LBB0_10:
	ldrb	w8, [x0]
	cbz	w8, LBB0_13
; %bb.11:
Lloh14:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_33
; %bb.12:
	str	w0, [sp, #60]
LBB0_13:
	ldr	x0, [sp, #24]
	ldrb	w8, [x0]
Lloh17:
	adrp	x22, _O_WRONLY@GOTPAGE
Lloh18:
	ldr	x22, [x22, _O_WRONLY@GOTPAGEOFF]
	cbz	w8, LBB0_16
; %bb.14:
	ldr	w1, [x22]
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_34
; %bb.15:
	str	w0, [sp, #64]
LBB0_16:
	ldr	x0, [sp, #16]
	ldrb	w8, [x0]
	cbz	w8, LBB0_19
; %bb.17:
	ldr	w1, [x22]
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_35
; %bb.18:
	str	w0, [sp, #68]
LBB0_19:
Lloh19:
	adrp	x26, _SIGUSR1@GOTPAGE
Lloh20:
	ldr	x26, [x26, _SIGUSR1@GOTPAGEOFF]
	ldr	w22, [x26]
Lloh21:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_signal
	mov	x1, x0
	mov	x0, x22
	bl	_signal
	add	x0, sp, #12
	bl	_sigemptyset
	ldr	w1, [x26]
	add	x0, sp, #12
	bl	_sigaddset
Lloh24:
	adrp	x8, _SIG_UNBLOCK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SIG_UNBLOCK@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	add	x1, sp, #12
	mov	x2, #0
	bl	_sigprocmask
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh27:
	adrp	x26, _nto_procfs_node@GOTPAGE
Lloh28:
	ldr	x26, [x26, _nto_procfs_node@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh29:
	adrp	x27, _ND_LOCAL_NODE@GOTPAGE
Lloh30:
	ldr	x27, [x27, _ND_LOCAL_NODE@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_ND_NODE_CMP
	cbz	x0, LBB0_21
; %bb.20:
	bl	_nto_node
	str	w0, [sp, #56]
Lloh31:
	adrp	x8, _SPAWN_SETND@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SPAWN_SETND@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	ldr	w9, [sp, #48]
	orr	w8, w9, w8
Lloh34:
	adrp	x9, _SPAWN_EXEC@GOTPAGE
Lloh35:
	ldr	x9, [x9, _SPAWN_EXEC@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	bic	w8, w8, w9
	b	LBB0_22
LBB0_21:
	ldr	w8, [sp, #48]
LBB0_22:
Lloh37:
	adrp	x9, _SPAWN_SETGROUP@GOTPAGE
Lloh38:
	ldr	x9, [x9, _SPAWN_SETGROUP@GOTPAGEOFF]
Lloh39:
	adrp	x10, _SPAWN_HOLD@GOTPAGE
Lloh40:
	ldr	x10, [x10, _SPAWN_HOLD@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
Lloh42:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w8, w9, w8
Lloh43:
	adrp	x9, _SPAWN_NEWPGROUP@GOTPAGE
Lloh44:
	ldr	x9, [x9, _SPAWN_NEWPGROUP@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #48]
	ldr	x22, [x21]
	ldr	w0, [x26]
	ldr	w1, [x27]
	bl	_ND_NODE_CMP
	cmp	x0, #0
	csel	x5, x19, xzr, eq
	add	x2, sp, #60
	add	x3, sp, #48
	mov	x0, x22
	mov	w1, #3
	mov	x4, x21
	bl	_spawnp
	mov	x19, x0
	mov	x0, x20
	bl	_xfree
Lloh46:
	adrp	x8, _SIG_BLOCK@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SIG_BLOCK@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	add	x1, sp, #12
	mov	x2, #0
	bl	_sigprocmask
	cmn	w19, #1
	b.ne	LBB0_24
; %bb.23:
	ldr	x20, [x21]
Lloh49:
	adrp	x8, _errno@GOTPAGE
Lloh50:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh51:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_safe_strerror
	mov	x3, x0
Lloh52:
	adrp	x0, l_.str.1@PAGE
Lloh53:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_error
LBB0_24:
	ldr	w0, [sp, #60]
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_26
; %bb.25:
	bl	_close
LBB0_26:
	ldr	w0, [sp, #64]
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_28
; %bb.27:
	bl	_close
LBB0_28:
	ldr	w0, [sp, #68]
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_30
; %bb.29:
	bl	_close
LBB0_30:
	mov	x0, x19
	bl	_pid_to_ptid
	bl	_do_attach
Lloh54:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh55:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh56:
	adrp	x9, _attach_flag@GOTPAGE
Lloh57:
	ldr	x9, [x9, _attach_flag@GOTPAGEOFF]
Lloh58:
	str	w0, [x8]
Lloh59:
	str	xzr, [x9]
Lloh60:
	adrp	x8, __DEBUG_FLAG_KLC@GOTPAGE
Lloh61:
	ldr	x8, [x8, __DEBUG_FLAG_KLC@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	str	w8, [sp, #44]
Lloh63:
	adrp	x8, _ctl_fd@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ctl_fd@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
Lloh66:
	adrp	x8, _DCMD_PROC_SET_FLAG@GOTPAGE
Lloh67:
	ldr	x8, [x8, _DCMD_PROC_SET_FLAG@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	add	x2, sp, #44
	mov	w3, #4
	mov	w4, #0
	bl	_devctl
Lloh69:
	adrp	x0, _procfs_ops@GOTPAGE
Lloh70:
	ldr	x0, [x0, _procfs_ops@GOTPAGEOFF]
	bl	_push_target
	bl	_target_terminal_init
LBB0_31:
	ldr	x8, [sp, #72]
Lloh71:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh72:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh73:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.32:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_33:
	ldr	x0, [sp, #32]
	bl	_perror
	b	LBB0_13
LBB0_34:
	ldr	x0, [sp, #24]
	bl	_perror
	b	LBB0_16
LBB0_35:
	ldr	x0, [sp, #16]
	bl	_perror
	b	LBB0_19
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh41
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh59
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh58
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
	.comm	_inferior_io_terminal,8,3       ; @inferior_io_terminal
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIG_UNBLOCK,4,2                ; @SIG_UNBLOCK
	.comm	_nto_procfs_node,4,2            ; @nto_procfs_node
	.comm	_ND_LOCAL_NODE,4,2              ; @ND_LOCAL_NODE
	.comm	_SPAWN_SETND,4,2                ; @SPAWN_SETND
	.comm	_SPAWN_EXEC,4,2                 ; @SPAWN_EXEC
	.comm	_SPAWN_SETGROUP,4,2             ; @SPAWN_SETGROUP
	.comm	_SPAWN_HOLD,4,2                 ; @SPAWN_HOLD
	.comm	_SPAWN_NEWPGROUP,4,2            ; @SPAWN_NEWPGROUP
	.comm	_SIG_BLOCK,4,2                  ; @SIG_BLOCK
l_.str.1:                               ; @.str.1
	.asciz	"Error spawning %s: %d (%s)"

	.comm	_errno,8,3                      ; @errno
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_attach_flag,8,3                ; @attach_flag
	.comm	__DEBUG_FLAG_KLC,4,2            ; @_DEBUG_FLAG_KLC
	.comm	_ctl_fd,4,2                     ; @ctl_fd
	.comm	_DCMD_PROC_SET_FLAG,4,2         ; @DCMD_PROC_SET_FLAG
	.comm	_EOK,4,2                        ; @EOK
	.comm	_procfs_ops,4,2                 ; @procfs_ops
	.comm	_exec_bfd,8,3                   ; @exec_bfd
	.comm	_symfile_objfile,8,3            ; @symfile_objfile
	.no_dead_strip	_procfs_create_inferior
.subsections_via_symbols
