	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_io
_try_io:                                ## @try_io
	.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	%r9d, %r13d
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rdi, %r15
	movl	16(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	movl	%r8d, %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_1
## %bb.4:
	movl	%eax, %ebx
	cmpl	$-1, %r13d
	jne	LBB0_6
## %bb.5:
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	testl	%r12d, %r12d
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	movl	$-1, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_warnx
LBB0_6:
	movl	%ebx, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_close                          ## TAILCALL
LBB0_1:
	cmpl	$-1, %r13d
	je	LBB0_3
## %bb.2:
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	testl	%r12d, %r12d
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%r13d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_warnx
LBB0_3:
	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	"%s(%s, %s): expected (%d, %d) got (-1, %d)"

L_.str.1:                               ## @.str.1
	.asciz	"root"

L_.str.2:                               ## @.str.2
	.asciz	"!root"

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

L_.str.4:                               ## @.str.4
	.asciz	"!jail"

	.comm	_errno,4,2                      ## @errno
L_.str.5:                               ## @.str.5
	.asciz	"%s(%s, %s): expected (%d, %d) got 0"

	.no_dead_strip	_try_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_io
_try_io:                                ; @try_io
	.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	x19, x6
	mov	x21, x5
	mov	x22, x3
	mov	x24, x2
	mov	x20, x0
	mov	x0, x1
	mov	x1, x4
	bl	_open
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x23, x0
	cmn	w21, #1
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w24, #0
	csel	x2, x9, x8, eq
Lloh4:
	adrp	x8, l_.str.3@PAGE
Lloh5:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh6:
	adrp	x9, l_.str.4@PAGE
Lloh7:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	w22, #0
	csel	x3, x9, x8, eq
Lloh8:
	adrp	x0, l_.str.5@PAGE
Lloh9:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	mov	w4, #-1
	mov	x5, x19
	bl	_warnx
LBB0_3:
	mov	x0, x23
	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	_close
LBB0_4:
	cmn	w21, #1
	b.eq	LBB0_6
; %bb.5:
Lloh10:
	adrp	x8, l_.str.1@PAGE
Lloh11:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w24, #0
Lloh14:
	adrp	x10, l_.str.3@PAGE
Lloh15:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh16:
	adrp	x11, l_.str.4@PAGE
Lloh17:
	add	x11, x11, l_.str.4@PAGEOFF
	csel	x2, x9, x8, eq
	cmp	w22, #0
	csel	x3, x11, x10, eq
Lloh18:
	adrp	x8, _errno@GOTPAGE
Lloh19:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x4, x21
	mov	x5, x19
	bl	_warnx
LBB0_6:
	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
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s(%s, %s): expected (%d, %d) got (-1, %d)"

l_.str.1:                               ; @.str.1
	.asciz	"root"

l_.str.2:                               ; @.str.2
	.asciz	"!root"

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

l_.str.4:                               ; @.str.4
	.asciz	"!jail"

	.comm	_errno,4,2                      ; @errno
l_.str.5:                               ; @.str.5
	.asciz	"%s(%s, %s): expected (%d, %d) got 0"

	.no_dead_strip	_try_io
.subsections_via_symbols
