	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_lookup_audio_samplerate    ## -- Begin function ghb_lookup_audio_samplerate
	.p2align	4, 0x90
_ghb_lookup_audio_samplerate:           ## @ghb_lookup_audio_samplerate
	.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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$8, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_hb_audio_samplerate_get_from_name
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_hb_audio_samplerate_get_next
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rbx), %r14d
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_hb_audio_samplerate_get_next
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:
	movq	%r15, %rbx
	jmp	LBB0_7
LBB0_1:
	movq	_sas_rate@GOTPCREL(%rip), %rbx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auto"

	.comm	_sas_rate,4,2                   ## @sas_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_lookup_audio_samplerate    ; -- Begin function ghb_lookup_audio_samplerate
	.p2align	2
_ghb_lookup_audio_samplerate:           ; @ghb_lookup_audio_samplerate
	.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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #8
	bl	_strncmp
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_hb_audio_samplerate_get_from_name
	mov	x19, x0
	mov	x0, #0
	bl	_hb_audio_samplerate_get_next
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x0]
	cmp	w19, w8
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_hb_audio_samplerate_get_next
	cbnz	x0, LBB0_3
; %bb.5:
	mov	x0, x20
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x0, _sas_rate@GOTPAGE
Lloh3:
	ldr	x0, [x0, _sas_rate@GOTPAGEOFF]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auto"

	.comm	_sas_rate,4,2                   ; @sas_rate
.subsections_via_symbols
