	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_outcheck_ctx_init              ## -- Begin function outcheck_ctx_init
	.p2align	4, 0x90
_outcheck_ctx_init:                     ## @outcheck_ctx_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %rax
	movq	16(%rdi), %rdx
	movq	(%rdi), %rcx
	movq	8(%rdi), %r12
	movl	$0, (%r12)
	xorl	%r14d, %r14d
	cmpl	$1, (%rcx)
	je	LBB0_14
## %bb.1:
	cmpl	$1, 4(%rcx)
	je	LBB0_14
## %bb.2:
	cmpl	$1, 8(%rcx)
	je	LBB0_14
## %bb.3:
	cmpl	$1, 12(%rcx)
	je	LBB0_14
## %bb.4:
	cmpl	$1, 16(%rcx)
	je	LBB0_14
## %bb.5:
	cmpl	$1, 20(%rcx)
	je	LBB0_14
## %bb.6:
	cmpl	$1, (%rdx)
	je	LBB0_14
## %bb.7:
	cmpq	$0, 24(%rcx)
	je	LBB0_14
## %bb.8:
	movq	%rdi, %rbx
	movq	32(%rcx), %rdi
	leaq	8(%r12), %r15
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.10:
	movq	%rdi, (%r15)
	jmp	LBB0_11
LBB0_9:
	movl	(%rax), %edx
	movl	40(%rcx), %ecx
	movq	_OUTFILES_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_hc_asprintf
	movq	(%r15), %rdi
LBB0_11:
	movl	$1, (%r12)
	callq	_hc_path_exist
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:
	movq	(%r15), %rdi
	movl	$448, %esi                      ## imm = 0x1C0
	callq	_hc_mkdir
	cmpl	$-1, %eax
	jne	LBB0_14
## %bb.13:
	movq	(%r15), %r14
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_event_log_error
	movl	$-1, %r14d
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s.%s"

	.comm	_OUTFILES_DIR,4,2               ## @OUTFILES_DIR
L_.str.1:                               ## @.str.1
	.asciz	"%s: %s"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_outcheck_ctx_init              ; -- Begin function outcheck_ctx_init
	.p2align	2
_outcheck_ctx_init:                     ; @outcheck_ctx_init
	.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
	mov	w0, #0
	ldp	x10, x8, [x19, #16]
	ldp	x9, x21, [x19]
	str	wzr, [x21]
	ldr	w11, [x9]
	cmp	w11, #1
	b.eq	LBB0_14
; %bb.1:
	ldr	w11, [x9, #4]
	cmp	w11, #1
	b.eq	LBB0_13
; %bb.2:
	ldr	w11, [x9, #8]
	cmp	w11, #1
	b.eq	LBB0_13
; %bb.3:
	ldr	w11, [x9, #12]
	cmp	w11, #1
	b.eq	LBB0_13
; %bb.4:
	ldr	w11, [x9, #16]
	cmp	w11, #1
	b.eq	LBB0_13
; %bb.5:
	ldr	w11, [x9, #20]
	cmp	w11, #1
	b.eq	LBB0_13
; %bb.6:
	ldr	w10, [x10]
	cmp	w10, #1
	b.eq	LBB0_13
; %bb.7:
	ldr	x10, [x9, #24]
	cbz	x10, LBB0_13
; %bb.8:
	ldr	x0, [x9, #32]
	add	x20, x21, #8
	cbz	x0, LBB0_10
; %bb.9:
	str	x0, [x20]
	b	LBB0_11
LBB0_10:
	ldr	w2, [x8]
	ldr	w3, [x9, #40]
Lloh0:
	adrp	x8, _OUTFILES_DIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OUTFILES_DIR@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_hc_asprintf
	ldr	x0, [x20]
LBB0_11:
	mov	w8, #1
	str	w8, [x21]
	bl	_hc_path_exist
	cbnz	w0, LBB0_13
; %bb.12:
	ldr	x0, [x20]
	mov	w1, #448
	bl	_hc_mkdir
	cmn	w0, #1
	b.eq	LBB0_15
LBB0_13:
	mov	w0, #0
LBB0_14:
	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
LBB0_15:
	ldr	x20, [x20]
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_event_log_error
	mov	w0, #-1
	b	LBB0_14
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s.%s"

	.comm	_OUTFILES_DIR,4,2               ; @OUTFILES_DIR
l_.str.1:                               ; @.str.1
	.asciz	"%s: %s"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
