	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvenc_map_preset
_nvenc_map_preset:                      ## @nvenc_map_preset
	.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	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_PRESET
	movq	%rax, -128(%rbp)
	movq	_HP@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%eax, %eax
	callq	_PRESET
	movq	%rax, -120(%rbp)
	movq	_HQ@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%eax, %eax
	callq	_PRESET
	movq	%rax, -112(%rbp)
	movq	_BD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_PRESET
	movq	%rax, -104(%rbp)
	movq	_SLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_NVENC_TWO_PASSES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_PRESET_ALIAS
	movq	%rax, -96(%rbp)
	movq	_MEDIUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_NVENC_ONE_PASS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_PRESET_ALIAS
	movq	%rax, -88(%rbp)
	movq	_FAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	movl	(%rbx), %edx
	callq	_PRESET_ALIAS
	movq	%rax, -80(%rbp)
	movq	_LOW_LATENCY_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NVENC_LOWLATENCY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_PRESET
	movq	%rax, -72(%rbp)
	movq	_LOW_LATENCY_HP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_PRESET
	movq	%rax, -64(%rbp)
	movq	_LOW_LATENCY_HQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_PRESET
	movq	%rax, -56(%rbp)
	movq	_LOSSLESS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NVENC_LOSSLESS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_PRESET
	movq	%rax, -48(%rbp)
	movq	_LOSSLESS_HP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_PRESET
	movq	%rax, -40(%rbp)
	movq	(%r15), %rax
	movl	-124(%rbp,%rax,8), %ecx
	movl	%ecx, 12(%r15)
	movl	-128(%rbp,%rax,8), %eax
	movl	%eax, 8(%r15)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT,4,2                    ## @DEFAULT
	.comm	_HP,4,2                         ## @HP
	.comm	_HQ,4,2                         ## @HQ
	.comm	_BD,4,2                         ## @BD
	.comm	_SLOW,4,2                       ## @SLOW
	.comm	_NVENC_TWO_PASSES,4,2           ## @NVENC_TWO_PASSES
	.comm	_MEDIUM,4,2                     ## @MEDIUM
	.comm	_NVENC_ONE_PASS,4,2             ## @NVENC_ONE_PASS
	.comm	_FAST,4,2                       ## @FAST
	.comm	_LOW_LATENCY_DEFAULT,4,2        ## @LOW_LATENCY_DEFAULT
	.comm	_NVENC_LOWLATENCY,4,2           ## @NVENC_LOWLATENCY
	.comm	_LOW_LATENCY_HP,4,2             ## @LOW_LATENCY_HP
	.comm	_LOW_LATENCY_HQ,4,2             ## @LOW_LATENCY_HQ
	.comm	_LOSSLESS_DEFAULT,4,2           ## @LOSSLESS_DEFAULT
	.comm	_NVENC_LOSSLESS,4,2             ## @NVENC_LOSSLESS
	.comm	_LOSSLESS_HP,4,2                ## @LOSSLESS_HP
	.no_dead_strip	_nvenc_map_preset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvenc_map_preset
_nvenc_map_preset:                      ; @nvenc_map_preset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_PRESET
	str	x0, [sp, #8]
Lloh6:
	adrp	x20, _HP@GOTPAGE
Lloh7:
	ldr	x20, [x20, _HP@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_PRESET
	str	x0, [sp, #16]
Lloh8:
	adrp	x21, _HQ@GOTPAGE
Lloh9:
	ldr	x21, [x21, _HQ@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_PRESET
	str	x0, [sp, #24]
Lloh10:
	adrp	x8, _BD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BD@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_PRESET
Lloh13:
	adrp	x8, _SLOW@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SLOW@GOTPAGEOFF]
	str	x0, [sp, #32]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x21]
Lloh16:
	adrp	x8, _NVENC_TWO_PASSES@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NVENC_TWO_PASSES@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	bl	_PRESET_ALIAS
Lloh19:
	adrp	x8, _MEDIUM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MEDIUM@GOTPAGEOFF]
	str	x0, [sp, #40]
Lloh21:
	ldr	w0, [x8]
	ldr	w1, [x21]
Lloh22:
	adrp	x21, _NVENC_ONE_PASS@GOTPAGE
Lloh23:
	ldr	x21, [x21, _NVENC_ONE_PASS@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_PRESET_ALIAS
	str	x0, [sp, #48]
Lloh24:
	adrp	x8, _FAST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FAST@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w1, [x20]
	ldr	w2, [x21]
	bl	_PRESET_ALIAS
	str	x0, [sp, #56]
Lloh27:
	adrp	x8, _LOW_LATENCY_DEFAULT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LOW_LATENCY_DEFAULT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x20, _NVENC_LOWLATENCY@GOTPAGE
Lloh31:
	ldr	x20, [x20, _NVENC_LOWLATENCY@GOTPAGEOFF]
	ldr	w8, [x20]
	str	x8, [sp]
	bl	_PRESET
	str	x0, [sp, #64]
Lloh32:
	adrp	x8, _LOW_LATENCY_HP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LOW_LATENCY_HP@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	w8, [x20]
	str	x8, [sp]
	bl	_PRESET
	str	x0, [sp, #72]
Lloh35:
	adrp	x8, _LOW_LATENCY_HQ@GOTPAGE
Lloh36:
	ldr	x8, [x8, _LOW_LATENCY_HQ@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ldr	w8, [x20]
	str	x8, [sp]
	bl	_PRESET
	str	x0, [sp, #80]
Lloh38:
	adrp	x8, _LOSSLESS_DEFAULT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _LOSSLESS_DEFAULT@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x20, _NVENC_LOSSLESS@GOTPAGE
Lloh42:
	ldr	x20, [x20, _NVENC_LOSSLESS@GOTPAGEOFF]
	ldr	w8, [x20]
	str	x8, [sp]
	bl	_PRESET
	str	x0, [sp, #88]
Lloh43:
	adrp	x8, _LOSSLESS_HP@GOTPAGE
Lloh44:
	ldr	x8, [x8, _LOSSLESS_HP@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	ldr	w8, [x20]
	str	x8, [sp]
	bl	_PRESET
	str	x0, [sp, #96]
	ldr	x8, [x19]
	add	x9, sp, #8
	ldr	d0, [x9, x8, lsl #3]
	str	d0, [x19, #8]
	ldur	x8, [x29, #-40]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT,4,2                    ; @DEFAULT
	.comm	_HP,4,2                         ; @HP
	.comm	_HQ,4,2                         ; @HQ
	.comm	_BD,4,2                         ; @BD
	.comm	_SLOW,4,2                       ; @SLOW
	.comm	_NVENC_TWO_PASSES,4,2           ; @NVENC_TWO_PASSES
	.comm	_MEDIUM,4,2                     ; @MEDIUM
	.comm	_NVENC_ONE_PASS,4,2             ; @NVENC_ONE_PASS
	.comm	_FAST,4,2                       ; @FAST
	.comm	_LOW_LATENCY_DEFAULT,4,2        ; @LOW_LATENCY_DEFAULT
	.comm	_NVENC_LOWLATENCY,4,2           ; @NVENC_LOWLATENCY
	.comm	_LOW_LATENCY_HP,4,2             ; @LOW_LATENCY_HP
	.comm	_LOW_LATENCY_HQ,4,2             ; @LOW_LATENCY_HQ
	.comm	_LOSSLESS_DEFAULT,4,2           ; @LOSSLESS_DEFAULT
	.comm	_NVENC_LOSSLESS,4,2             ; @NVENC_LOSSLESS
	.comm	_LOSSLESS_HP,4,2                ; @LOSSLESS_HP
	.no_dead_strip	_nvenc_map_preset
.subsections_via_symbols
