	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_encopts_to_dict             ## -- Begin function hb_encopts_to_dict
	.p2align	4, 0x90
_hb_encopts_to_dict:                    ## @hb_encopts_to_dict
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_18
## %bb.2:
	movl	%esi, %r14d
	xorl	%eax, %eax
	callq	_hb_dict_init
	testq	%rax, %rax
	je	LBB0_18
## %bb.3:
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	je	LBB0_16
## %bb.5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_hb_value_string
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_hb_dict_set
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$0, (%r12)
	movq	%r12, %rbx
	je	LBB0_16
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcspn
	cltq
	leaq	(%rbx,%rax), %r12
	cmpb	$0, (%rbx,%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movb	$0, (%r12)
	incq	%r12
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r15
	movb	$0, (%rax)
	incq	%r15
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r15d, %r15d
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_HB_VCODEC_X264_MASK@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_hb_x264_encopt_name
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_7
LBB0_18:
	xorl	%r13d, %r13d
	jmp	LBB0_19
LBB0_16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
LBB0_19:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	":"

	.comm	_HB_VCODEC_X264_MASK,4,2        ## @HB_VCODEC_X264_MASK
	.comm	_HB_VCODEC_X265_MASK,4,2        ## @HB_VCODEC_X265_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_encopts_to_dict             ; -- Begin function hb_encopts_to_dict
	.p2align	2
_hb_encopts_to_dict:                    ; @hb_encopts_to_dict
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_14
; %bb.1:
	mov	x21, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_14
; %bb.2:
	mov	x20, x1
	bl	_hb_dict_init
	mov	x19, x0
	cbz	x0, LBB0_16
; %bb.3:
	mov	x0, x21
	bl	_strdup
	mov	x21, x0
	cbz	x0, LBB0_15
; %bb.4:
	ldrb	w8, [x21]
	cbz	w8, LBB0_15
; %bb.5:
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x25, _HB_VCODEC_X264_MASK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _HB_VCODEC_X264_MASK@GOTPAGEOFF]
	mov	x23, x21
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	bl	_hb_value_string
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_hb_dict_set
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x26]
	mov	x23, x26
	cbz	w8, LBB0_15
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_strcspn
	add	x26, x23, w0, sxtw
	ldrb	w8, [x26]
	cbz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	wzr, [x26], #1
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	w1, #61
	bl	_strchr
	mov	x24, x0
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	strb	wzr, [x24], #1
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x25]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_hb_x264_encopt_name
	mov	x23, x0
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_14:
	mov	x19, #0
	b	LBB0_16
LBB0_15:
	mov	x0, x21
	bl	_free
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":"

	.comm	_HB_VCODEC_X264_MASK,4,2        ; @HB_VCODEC_X264_MASK
	.comm	_HB_VCODEC_X265_MASK,4,2        ; @HB_VCODEC_X265_MASK
.subsections_via_symbols
