	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_lookup_filter_name         ## -- Begin function ghb_lookup_filter_name
	.p2align	4, 0x90
_ghb_lookup_filter_name:                ## @ghb_lookup_filter_name
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r14
	testl	%edx, %edx
	je	LBB0_4
## %bb.2:
	callq	_hb_filter_param_get_presets
	jmp	LBB0_5
LBB0_4:
	callq	_hb_filter_param_get_tunes
LBB0_5:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	cmpq	$0, (%rbx)
	je	LBB0_13
## %bb.7:
	movl	8(%rbx), %edi
	movq	%r14, %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	24(%rbx), %edi
	movq	%r14, %rsi
	callq	_strcasecmp
	addq	$16, %rbx
	testl	%eax, %eax
	jne	LBB0_9
LBB0_11:
	movq	(%rbx), %r15
	jmp	LBB0_14
LBB0_13:
	xorl	%r15d, %r15d
LBB0_14:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_lookup_filter_name         ; -- Begin function ghb_lookup_filter_name
	.p2align	2
_ghb_lookup_filter_name:                ; @ghb_lookup_filter_name
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_9
; %bb.1:
	mov	x19, x1
	cbz	w2, LBB0_3
; %bb.2:
	bl	_hb_filter_param_get_presets
	mov	x20, x0
	cbnz	x0, LBB0_4
	b	LBB0_9
LBB0_3:
	bl	_hb_filter_param_get_tunes
	mov	x20, x0
	cbz	x0, LBB0_9
LBB0_4:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.5:
	ldr	w0, [x20, #8]
	mov	x1, x19
	bl	_strcasecmp
	cbz	w0, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x20, #24]
	mov	x1, x19
	bl	_strcasecmp
	add	x20, x20, #16
	cbnz	w0, LBB0_6
LBB0_8:
	ldr	x0, [x20]
	b	LBB0_10
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
