	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function job_setup
_job_setup:                             ## @job_setup
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	%rdi, %rbx
	movq	%r14, 160(%rdi)
	movl	$1, (%rdi)
	movl	64(%r14), %edi
	callq	_hb_list_count
	movl	%eax, 156(%rbx)
	movl	64(%r14), %edi
	callq	_hb_chapter_list_copy
	movl	%eax, 152(%rbx)
	movq	144(%rbx), %rdi
	movl	32(%r14), %esi
	movl	$16, %edx
	callq	_memcpy
	movups	40(%r14), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	56(%r14), %rax
	movq	%rax, -64(%rbp)
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	-48(%rbp), %rdi
	movl	32(%r14), %esi
	movl	$16, %edx
	callq	_memcpy
	movq	-72(%rbp), %rax
	movq	-64(%rbp), %rcx
	movq	-48(%rbp), %rdx
	movq	16(%rdx), %rsi
	addq	24(%rdx), %rsi
	subq	%rsi, %rcx
	movq	%rcx, -32(%rbp)
	movq	(%rdx), %rcx
	addq	8(%rdx), %rcx
	subq	%rcx, %rax
	movq	%rax, -40(%rbp)
	movq	_HB_ANAMORPHIC_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_HB_KEEP_DISPLAY_ASPECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-104(%rbp), %rdx
	movq	%r15, %rsi
	callq	_hb_set_anamorphic_size2
	movups	-96(%rbp), %xmm0
	movups	%xmm0, 128(%rbx)
	movl	-104(%rbp), %eax
	movl	%eax, 120(%rbx)
	movq	_HB_VCODEC_FFMPEG_MPEG4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 116(%rbx)
	movq	_HB_INVALID_VIDEO_QUALITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%rbx)
	movl	$1000, 4(%rbx)                  ## imm = 0x3E8
	movq	$0, 104(%rbx)
	movq	_HB_PASS_ENCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movl	28(%r14), %eax
	movl	%eax, 92(%rbx)
	movq	_AV_PIX_FMT_YUV420P@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movups	12(%r14), %xmm0
	movups	%xmm0, 72(%rbx)
	movq	_HB_COLR_PRI_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_HB_COLR_TRA_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_HB_COLR_MAT_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_HB_MUX_MP4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	xorl	%eax, %eax
	callq	_hb_list_init
	movq	%rax, 48(%rbx)
	xorl	%eax, %eax
	callq	_hb_list_init
	movq	%rax, 40(%rbx)
	xorl	%eax, %eax
	callq	_hb_list_init
	movq	%rax, 32(%rbx)
	movl	8(%r14), %edi
	callq	_hb_attachment_list_copy
	movl	%eax, 28(%rbx)
	movl	4(%r14), %edi
	callq	_hb_metadata_copy
	movl	%eax, 24(%rbx)
LBB0_3:
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_ANAMORPHIC_NONE,4,2         ## @HB_ANAMORPHIC_NONE
	.comm	_HB_KEEP_DISPLAY_ASPECT,4,2     ## @HB_KEEP_DISPLAY_ASPECT
	.comm	_HB_VCODEC_FFMPEG_MPEG4,4,2     ## @HB_VCODEC_FFMPEG_MPEG4
	.comm	_HB_INVALID_VIDEO_QUALITY,4,2   ## @HB_INVALID_VIDEO_QUALITY
	.comm	_HB_PASS_ENCODE,4,2             ## @HB_PASS_ENCODE
	.comm	_AV_PIX_FMT_YUV420P,4,2         ## @AV_PIX_FMT_YUV420P
	.comm	_HB_COLR_PRI_UNDEF,4,2          ## @HB_COLR_PRI_UNDEF
	.comm	_HB_COLR_TRA_UNDEF,4,2          ## @HB_COLR_TRA_UNDEF
	.comm	_HB_COLR_MAT_UNDEF,4,2          ## @HB_COLR_MAT_UNDEF
	.comm	_HB_MUX_MP4,4,2                 ## @HB_MUX_MP4
	.comm	_HB_DECODE_SUPPORT_QSV,4,2      ## @HB_DECODE_SUPPORT_QSV
	.comm	_HB_QSV_ASYNC_DEPTH_DEFAULT,4,2 ## @HB_QSV_ASYNC_DEPTH_DEFAULT
	.no_dead_strip	_job_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function job_setup
_job_setup:                             ; @job_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_3
; %bb.2:
	mov	x19, x0
	str	x20, [x0, #160]
	mov	w8, #1
	str	w8, [x0]
	ldr	w0, [x20, #64]
	bl	_hb_list_count
	str	w0, [x19, #156]
	ldr	w0, [x20, #64]
	bl	_hb_chapter_list_copy
	str	w0, [x19, #152]
	ldr	x0, [x19, #144]
	ldr	w1, [x20, #32]
	mov	w2, #16
	bl	_memcpy
	ldur	q0, [x20, #40]
	str	q0, [sp, #32]
	ldr	x8, [x20, #56]
	str	x8, [sp, #48]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	x0, [sp, #8]
	ldr	w1, [x20, #32]
	mov	w2, #16
	bl	_memcpy
	ldr	x8, [sp, #8]
	ldp	x9, x10, [x8, #16]
	ldp	x12, x11, [sp, #40]
	add	x9, x9, x10
	sub	x9, x11, x9
	str	x9, [sp, #24]
	ldp	x9, x8, [x8]
	add	x8, x9, x8
	sub	x8, x12, x8
	str	x8, [sp, #16]
Lloh0:
	adrp	x8, _HB_ANAMORPHIC_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HB_ANAMORPHIC_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _HB_KEEP_DISPLAY_ASPECT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HB_KEEP_DISPLAY_ASPECT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp]
	add	x0, sp, #32
	mov	x1, sp
	sub	x2, x29, #40
	bl	_hb_set_anamorphic_size2
	ldur	q0, [x29, #-32]
	str	q0, [x19, #128]
	ldur	w8, [x29, #-40]
	str	w8, [x19, #120]
Lloh6:
	adrp	x8, _HB_VCODEC_FFMPEG_MPEG4@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HB_VCODEC_FFMPEG_MPEG4@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _HB_INVALID_VIDEO_QUALITY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HB_INVALID_VIDEO_QUALITY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #112]
	mov	w8, #1000
	str	w8, [x19, #4]
	str	xzr, [x19, #104]
Lloh12:
	adrp	x8, _HB_PASS_ENCODE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HB_PASS_ENCODE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #96]
	ldr	w8, [x20, #28]
Lloh15:
	adrp	x9, _AV_PIX_FMT_YUV420P@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AV_PIX_FMT_YUV420P@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #88]
	ldur	q0, [x20, #12]
	stur	q0, [x19, #72]
Lloh18:
	adrp	x8, _HB_COLR_PRI_UNDEF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HB_COLR_PRI_UNDEF@GOTPAGEOFF]
Lloh20:
	adrp	x9, _HB_COLR_TRA_UNDEF@GOTPAGE
Lloh21:
	ldr	x9, [x9, _HB_COLR_TRA_UNDEF@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #64]
Lloh24:
	adrp	x8, _HB_COLR_MAT_UNDEF@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HB_COLR_MAT_UNDEF@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _HB_MUX_MP4@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HB_MUX_MP4@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
	bl	_hb_list_init
	str	x0, [x19, #48]
	bl	_hb_list_init
	str	x0, [x19, #40]
	bl	_hb_list_init
	str	x0, [x19, #32]
	ldr	w0, [x20, #8]
	bl	_hb_attachment_list_copy
	str	w0, [x19, #28]
	ldr	w0, [x20, #4]
	bl	_hb_metadata_copy
	str	w0, [x19, #24]
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_ANAMORPHIC_NONE,4,2         ; @HB_ANAMORPHIC_NONE
	.comm	_HB_KEEP_DISPLAY_ASPECT,4,2     ; @HB_KEEP_DISPLAY_ASPECT
	.comm	_HB_VCODEC_FFMPEG_MPEG4,4,2     ; @HB_VCODEC_FFMPEG_MPEG4
	.comm	_HB_INVALID_VIDEO_QUALITY,4,2   ; @HB_INVALID_VIDEO_QUALITY
	.comm	_HB_PASS_ENCODE,4,2             ; @HB_PASS_ENCODE
	.comm	_AV_PIX_FMT_YUV420P,4,2         ; @AV_PIX_FMT_YUV420P
	.comm	_HB_COLR_PRI_UNDEF,4,2          ; @HB_COLR_PRI_UNDEF
	.comm	_HB_COLR_TRA_UNDEF,4,2          ; @HB_COLR_TRA_UNDEF
	.comm	_HB_COLR_MAT_UNDEF,4,2          ; @HB_COLR_MAT_UNDEF
	.comm	_HB_MUX_MP4,4,2                 ; @HB_MUX_MP4
	.comm	_HB_DECODE_SUPPORT_QSV,4,2      ; @HB_DECODE_SUPPORT_QSV
	.comm	_HB_QSV_ASYNC_DEPTH_DEFAULT,4,2 ; @HB_QSV_ASYNC_DEPTH_DEFAULT
	.no_dead_strip	_job_setup
.subsections_via_symbols
