	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_generate_filter_settings    ## -- Begin function hb_generate_filter_settings
	.p2align	4, 0x90
_hb_generate_filter_settings:           ## @hb_generate_filter_settings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	$0, -24(%rbp)
	leal	-128(%r14), %eax
	cmpl	$16, %eax
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rax,4), %rax
	addq	%rdi, %rax
	jmpq	*%rax
LBB0_2:
	movq	%rcx, %rdi
	callq	_hb_parse_filter_settings
	jmp	LBB0_3
LBB0_9:
	movl	%r14d, %edi
	callq	_generate_generic_settings
LBB0_3:
	movq	%rax, %rbx
	movq	%rax, -24(%rbp)
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_check_filter_status
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.4:
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_hb_validate_filter_settings
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	leaq	-24(%rbp), %rdi
	callq	_hb_value_free
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_fprintf
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_check_filter_status
	jmp	LBB0_11
LBB0_8:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_generate_unsharp_settings
	jmp	LBB0_3
LBB0_5:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_generate_nlmeans_settings
	jmp	LBB0_3
LBB0_7:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_generate_lapsharp_settings
	jmp	LBB0_3
LBB0_6:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_generate_chroma_smooth_settings
	jmp	LBB0_3
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hb_generate_filter_settings: Unrecognized filter (%d).\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_generate_filter_settings    ; -- Begin function hb_generate_filter_settings
	.p2align	2
_hb_generate_filter_settings:           ; @hb_generate_filter_settings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [sp, #8]
	sub	w8, w0, #128
	cmp	w8, #16
	b.hi	LBB0_8
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x3
	bl	_hb_parse_filter_settings
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_generate_generic_settings
LBB0_4:
	mov	x20, x0
	str	x0, [sp, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_check_filter_status
	cbz	x20, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_hb_validate_filter_settings
	cbz	x0, LBB0_7
LBB0_6:
	add	x0, sp, #8
	bl	_hb_value_free
	mov	x20, #0
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	mov	x0, x19
	mov	x1, #0
	bl	_check_filter_status
	b	LBB0_6
LBB0_9:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_generate_unsharp_settings
	b	LBB0_4
LBB0_10:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_generate_nlmeans_settings
	b	LBB0_4
LBB0_11:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_generate_lapsharp_settings
	b	LBB0_4
LBB0_12:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_generate_chroma_smooth_settings
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hb_generate_filter_settings: Unrecognized filter (%d).\n"

.subsections_via_symbols
