	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function job_clean
_job_clean:                             ## @job_clean
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	72(%rdi), %rdi
	callq	_free
	movq	$0, 72(%r14)
	movq	(%r14), %rdi
	callq	_free
	movq	$0, (%r14)
	movq	8(%r14), %rdi
	callq	_free
	movq	$0, 8(%r14)
	movq	16(%r14), %rdi
	callq	_free
	movq	$0, 16(%r14)
	movq	24(%r14), %rdi
	callq	_free
	movq	$0, 24(%r14)
	movq	32(%r14), %rdi
	callq	_free
	movq	$0, 32(%r14)
	movq	40(%r14), %rdi
	callq	_free
	movq	$0, 40(%r14)
	leaq	68(%r14), %rbx
	movl	68(%r14), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	-64(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_hb_list_rem
	movq	%r15, %rdi
	callq	_hb_chapter_close
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	jne	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	callq	_hb_list_close
	leaq	64(%r14), %rbx
	movl	64(%r14), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	-56(%rbp), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_hb_list_rem
	movq	%r15, %rdi
	callq	_hb_audio_close
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	jne	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_hb_list_close
	leaq	60(%r14), %rbx
	movl	60(%r14), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_hb_list_rem
	movq	%r15, %rdi
	callq	_hb_subtitle_close
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_9
LBB0_10:
	movq	%rbx, %rdi
	callq	_hb_list_close
	leaq	56(%r14), %rbx
	movl	56(%r14), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	leaq	-40(%rbp), %r15
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_hb_list_rem
	movq	%r15, %rdi
	callq	_hb_filter_close
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	jne	LBB0_12
LBB0_13:
	movq	%rbx, %rdi
	callq	_hb_list_close
	leaq	52(%r14), %rbx
	movl	52(%r14), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	leaq	-32(%rbp), %r15
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_hb_list_rem
	movq	%r15, %rdi
	callq	_hb_attachment_close
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	jne	LBB0_15
LBB0_16:
	movq	%rbx, %rdi
	callq	_hb_list_close
	addq	$48, %r14
	movq	%r14, %rdi
	callq	_hb_metadata_close
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_17:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_job_clean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function job_clean
_job_clean:                             ; @job_clean
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_17
; %bb.1:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x0, [x0, #72]
	bl	_free
	str	xzr, [x19, #72]
	ldr	x0, [x19]
	bl	_free
	str	xzr, [x19]
	ldr	x0, [x19, #8]
	bl	_free
	str	xzr, [x19, #8]
	ldr	x0, [x19, #16]
	bl	_free
	str	xzr, [x19, #16]
	ldr	x0, [x19, #24]
	bl	_free
	str	xzr, [x19, #24]
	ldr	x0, [x19, #32]
	bl	_free
	str	xzr, [x19, #32]
	ldr	x0, [x19, #40]
	bl	_free
	str	xzr, [x19, #40]
	mov	x20, x19
	ldr	w0, [x20, #68]!
	mov	w1, #0
	bl	_hb_list_item
	stur	x0, [x29, #-24]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_hb_list_rem
	sub	x0, x29, #24
	bl	_hb_chapter_close
	ldr	w0, [x20]
	mov	w1, #0
	bl	_hb_list_item
	mov	x1, x0
	stur	x0, [x29, #-24]
	cbnz	x0, LBB0_3
LBB0_4:
	mov	x0, x20
	bl	_hb_list_close
	mov	x20, x19
	ldr	w0, [x20, #64]!
	mov	w1, #0
	bl	_hb_list_item
	str	x0, [sp, #32]
	cbz	x0, LBB0_7
; %bb.5:
	mov	x1, x0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_hb_list_rem
	add	x0, sp, #32
	bl	_hb_audio_close
	ldr	w0, [x20]
	mov	w1, #0
	bl	_hb_list_item
	mov	x1, x0
	str	x0, [sp, #32]
	cbnz	x0, LBB0_6
LBB0_7:
	mov	x0, x20
	bl	_hb_list_close
	mov	x20, x19
	ldr	w0, [x20, #60]!
	mov	w1, #0
	bl	_hb_list_item
	str	x0, [sp, #24]
	cbz	x0, LBB0_10
; %bb.8:
	mov	x1, x0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_hb_list_rem
	add	x0, sp, #24
	bl	_hb_subtitle_close
	ldr	w0, [x20]
	mov	w1, #0
	bl	_hb_list_item
	mov	x1, x0
	str	x0, [sp, #24]
	cbnz	x0, LBB0_9
LBB0_10:
	mov	x0, x20
	bl	_hb_list_close
	mov	x20, x19
	ldr	w0, [x20, #56]!
	mov	w1, #0
	bl	_hb_list_item
	str	x0, [sp, #16]
	cbz	x0, LBB0_13
; %bb.11:
	mov	x1, x0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_hb_list_rem
	add	x0, sp, #16
	bl	_hb_filter_close
	ldr	w0, [x20]
	mov	w1, #0
	bl	_hb_list_item
	mov	x1, x0
	str	x0, [sp, #16]
	cbnz	x0, LBB0_12
LBB0_13:
	mov	x0, x20
	bl	_hb_list_close
	mov	x20, x19
	ldr	w0, [x20, #52]!
	mov	w1, #0
	bl	_hb_list_item
	str	x0, [sp, #8]
	cbz	x0, LBB0_16
; %bb.14:
	mov	x1, x0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_hb_list_rem
	add	x0, sp, #8
	bl	_hb_attachment_close
	ldr	w0, [x20]
	mov	w1, #0
	bl	_hb_list_item
	mov	x1, x0
	str	x0, [sp, #8]
	cbnz	x0, LBB0_15
LBB0_16:
	mov	x0, x20
	bl	_hb_list_close
	add	x0, x19, #48
	bl	_hb_metadata_close
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
LBB0_17:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_job_clean
.subsections_via_symbols
