	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_level
_push_level:                            ## @push_level
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	24(%rdi), %rdi
	incq	%rsi
	movl	32(%rbx), %edx
	callq	_ALLOC_GROW
	movq	24(%rbx), %r14
	movq	(%rbx), %r15
	movq	16(%rbx), %rax
	leaq	1(%r15), %rcx
	movq	%rcx, (%rbx)
	movslq	8(%rbx), %rcx
	movl	-4(%rax,%rcx,4), %edi
	callq	_is_dir_sep
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	8(%rbx), %rdi
	movl	$47, %esi
	callq	_strbuf_addch
LBB0_2:
	movl	8(%rbx), %eax
	movl	%eax, (%r14,%r15,8)
	movq	16(%rbx), %rdi
	callq	_opendir
	movl	%eax, %ecx
	movl	%eax, 4(%r14,%r15,8)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_5
## %bb.4:
	movq	16(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_warning_errno
LBB0_5:
	decq	(%rbx)
	movl	%r15d, (%r14)
	movl	$-1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error opening directory '%s'"

	.no_dead_strip	_push_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_level
_push_level:                            ; @push_level
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x0, [x0, #24]
	ldr	x8, [x19]
	add	x1, x8, #1
	ldr	w2, [x19, #32]
	bl	_ALLOC_GROW
	ldr	x21, [x19]
	add	x8, x21, #1
	str	x8, [x19]
	mov	x20, x19
	ldrsw	x8, [x20, #8]!
	ldp	x9, x22, [x19, #16]
	add	x8, x9, x8, lsl #2
	ldur	w0, [x8, #-4]
	bl	_is_dir_sep
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #47
	bl	_strbuf_addch
LBB0_2:
	ldr	w8, [x19, #8]
	add	x20, x22, x21, lsl #3
	str	w8, [x20]
	ldr	x0, [x19, #16]
	bl	_opendir
	str	w0, [x20, #4]
	cbz	w0, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_7
LBB0_4:
Lloh0:
	adrp	x20, _errno@GOTPAGE
Lloh1:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w21, [x20]
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w21, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	x1, [x19, #16]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning_errno
LBB0_6:
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	str	w21, [x20]
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error opening directory '%s'"

	.no_dead_strip	_push_level
.subsections_via_symbols
