	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_induct_ctx_init                ## -- Begin function induct_ctx_init
	.p2align	4, 0x90
_induct_ctx_init:                       ## @induct_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	%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
	movq	16(%rdi), %r15
	movq	(%rdi), %rbx
	movq	8(%rdi), %r13
	movl	$0, (%r13)
	xorl	%r14d, %r14d
	cmpl	$1, (%rbx)
	je	LBB0_26
## %bb.1:
	cmpl	$1, 4(%rbx)
	je	LBB0_26
## %bb.2:
	cmpl	$1, 8(%rbx)
	je	LBB0_26
## %bb.3:
	cmpl	$1, 12(%rbx)
	je	LBB0_26
## %bb.4:
	cmpl	$1, 16(%rbx)
	je	LBB0_26
## %bb.5:
	cmpl	$1, 20(%rbx)
	je	LBB0_26
## %bb.6:
	cmpl	$1, 24(%rbx)
	je	LBB0_26
## %bb.7:
	cmpl	$1, 28(%rbx)
	je	LBB0_26
## %bb.8:
	cmpl	$1, 32(%rbx)
	je	LBB0_26
## %bb.9:
	cmpl	$1, 36(%rbx)
	je	LBB0_26
## %bb.10:
	cmpl	$1, 40(%rbx)
	je	LBB0_26
## %bb.11:
	movq	48(%rbx), %rax
	movq	_ATTACK_MODE_STRAIGHT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.12:
	movq	%rdi, %r12
	movl	$1, (%r13)
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.23:
	callq	_hcstrdup
	movq	%rax, 8(%r13)
	jmp	LBB0_26
LBB0_13:
	movl	(%r15), %edx
	movl	64(%rbx), %ecx
	movq	_INDUCT_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_hc_asprintf
	movq	-48(%rbp), %rdi
	callq	_rmdir
	cmpl	$-1, %eax
	jne	LBB0_18
## %bb.14:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_15
LBB0_18:
	movq	-48(%rbp), %rdi
	movl	$448, %esi                      ## imm = 0x1C0
	callq	_hc_mkdir
	movq	-48(%rbp), %r15
	cmpl	$-1, %eax
	je	LBB0_19
## %bb.20:
	movq	%r15, 8(%r13)
	jmp	LBB0_26
LBB0_19:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_22
LBB0_15:
	movq	_ENOTEMPTY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_21
## %bb.16:
	movl	(%r15), %r15d
	movl	64(%rbx), %ebx
	xorl	%edi, %edi
	callq	_time
	leaq	L_.str.1(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_hc_asprintf
	movq	-48(%rbp), %rdi
	movq	-56(%rbp), %rsi
	callq	_rename
	testq	%rax, %rax
	je	LBB0_17
## %bb.24:
	movq	-48(%rbp), %r14
	movq	-56(%rbp), %r15
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_event_log_error
	jmp	LBB0_25
LBB0_21:
	movq	-48(%rbp), %r15
LBB0_22:
	callq	_strerror
	movslq	%eax, %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_event_log_error
LBB0_25:
	movl	$-1, %r14d
LBB0_26:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	-56(%rbp), %rdi
	callq	_hcfree
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_ATTACK_MODE_STRAIGHT,8,3       ## @ATTACK_MODE_STRAIGHT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s.%s"

	.comm	_INDUCT_DIR,4,2                 ## @INDUCT_DIR
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_ENOTEMPTY,8,3                  ## @ENOTEMPTY
L_.str.1:                               ## @.str.1
	.asciz	"%s/%s.induct.%d"

L_.str.2:                               ## @.str.2
	.asciz	"Rename directory %s to %s: %s"

L_.str.3:                               ## @.str.3
	.asciz	"%s: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_induct_ctx_init                ; -- Begin function induct_ctx_init
	.p2align	2
_induct_ctx_init:                       ; @induct_ctx_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	w8, #0
	ldp	x21, x19, [x0, #8]
	ldr	x20, [x0]
	str	wzr, [x21]
	ldr	w9, [x20]
	cmp	w9, #1
	b.eq	LBB0_15
; %bb.1:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.2:
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.3:
	ldr	w8, [x20, #12]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.4:
	ldr	w8, [x20, #16]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.5:
	ldr	w8, [x20, #20]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.6:
	ldr	w8, [x20, #24]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.7:
	ldr	w8, [x20, #28]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.8:
	ldr	w8, [x20, #32]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.9:
	ldr	w8, [x20, #36]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.10:
	ldr	w8, [x20, #40]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.11:
	ldr	x8, [x20, #48]
Lloh0:
	adrp	x9, _ATTACK_MODE_STRAIGHT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATTACK_MODE_STRAIGHT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.12:
	mov	w8, #1
	str	w8, [x21]
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_16
; %bb.13:
	mov	x0, x8
	bl	_hcstrdup
	mov	w8, #0
	str	x0, [x21, #8]
	b	LBB0_15
LBB0_14:
	mov	w8, #0
LBB0_15:
	mov	x0, x8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_16:
	stp	x0, x21, [sp, #16]              ; 16-byte Folded Spill
	ldr	w2, [x19]
	ldr	w3, [x20, #64]
Lloh3:
	adrp	x8, _INDUCT_DIR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INDUCT_DIR@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #40
	bl	_hc_asprintf
	ldr	x0, [sp, #40]
	bl	_rmdir
	cmn	w0, #1
	b.ne	LBB0_18
; %bb.17:
Lloh8:
	adrp	x21, _errno@GOTPAGE
Lloh9:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	x0, [x21]
Lloh10:
	adrp	x8, _ENOENT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_21
LBB0_18:
	ldr	x0, [sp, #40]
	mov	w1, #448
	bl	_hc_mkdir
	ldr	x9, [sp, #40]
	cmn	w0, #1
	b.eq	LBB0_20
; %bb.19:
	mov	w8, #0
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	str	x9, [x10, #8]
	b	LBB0_15
LBB0_20:
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
Lloh13:
	adrp	x8, _errno@GOTPAGE
Lloh14:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
	b	LBB0_25
LBB0_21:
Lloh16:
	adrp	x8, _ENOTEMPTY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOTEMPTY@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.22:
	ldr	w19, [x19]
	ldr	w20, [x20, #64]
	mov	x0, #0
	bl	_time
	mov	x4, x0
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #32
	mov	x2, x19
	mov	x3, x20
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_hc_asprintf
	ldp	x1, x0, [sp, #32]
	bl	_rename
	cbz	x0, LBB0_27
; %bb.23:
	ldp	x20, x19, [sp, #32]
	ldr	x0, [x21]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x19
	mov	x3, x20
	b	LBB0_26
LBB0_24:
	ldr	x8, [sp, #40]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
LBB0_25:
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x3, w0
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	ldp	x0, x2, [sp, #16]               ; 16-byte Folded Reload
LBB0_26:
	bl	_event_log_error
	mov	w8, #-1
	b	LBB0_15
LBB0_27:
	ldr	x0, [sp, #32]
	bl	_hcfree
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_ATTACK_MODE_STRAIGHT,8,3       ; @ATTACK_MODE_STRAIGHT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s.%s"

	.comm	_INDUCT_DIR,4,2                 ; @INDUCT_DIR
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_ENOTEMPTY,8,3                  ; @ENOTEMPTY
l_.str.1:                               ; @.str.1
	.asciz	"%s/%s.induct.%d"

l_.str.2:                               ; @.str.2
	.asciz	"Rename directory %s to %s: %s"

l_.str.3:                               ; @.str.3
	.asciz	"%s: %s"

.subsections_via_symbols
