	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_format_emu_quirk
_set_format_emu_quirk:                  ## @set_format_emu_quirk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rdi), %rax
	movq	8(%rax), %rax
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$-1, (%rax,%rcx,4)
	je	LBB0_2
## %bb.15:
	popq	%rbp
	retq
LBB0_2:
	movl	(%rsi), %eax
	cmpl	$95999, %eax                    ## imm = 0x176FF
	jle	LBB0_3
## %bb.5:
	cmpl	$96000, %eax                    ## imm = 0x17700
	je	LBB0_10
## %bb.6:
	cmpl	$176400, %eax                   ## imm = 0x2B110
	je	LBB0_11
## %bb.7:
	cmpl	$192000, %eax                   ## imm = 0x2EE00
	jne	LBB0_13
## %bb.8:
	movq	_EMU_QUIRK_SR_192000HZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_3:
	cmpl	$48000, %eax                    ## imm = 0xBB80
	je	LBB0_4
## %bb.12:
	cmpl	$88200, %eax                    ## imm = 0x15888
	jne	LBB0_13
## %bb.9:
	movq	_EMU_QUIRK_SR_88200HZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_10:
	movq	_EMU_QUIRK_SR_96000HZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movq	_EMU_QUIRK_SR_176400HZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_4:
	movq	_EMU_QUIRK_SR_48000HZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_EMU_QUIRK_SR_44100HZ@GOTPCREL(%rip), %rax
LBB0_14:
	movzbl	(%rax), %esi
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_snd_emuusb_set_samplerate      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ## @SNDRV_PCM_STREAM_CAPTURE
	.comm	_EMU_QUIRK_SR_48000HZ,1,0       ## @EMU_QUIRK_SR_48000HZ
	.comm	_EMU_QUIRK_SR_88200HZ,1,0       ## @EMU_QUIRK_SR_88200HZ
	.comm	_EMU_QUIRK_SR_96000HZ,1,0       ## @EMU_QUIRK_SR_96000HZ
	.comm	_EMU_QUIRK_SR_176400HZ,1,0      ## @EMU_QUIRK_SR_176400HZ
	.comm	_EMU_QUIRK_SR_192000HZ,1,0      ## @EMU_QUIRK_SR_192000HZ
	.comm	_EMU_QUIRK_SR_44100HZ,1,0       ## @EMU_QUIRK_SR_44100HZ
	.no_dead_strip	_set_format_emu_quirk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_format_emu_quirk
_set_format_emu_quirk:                  ; @set_format_emu_quirk
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
Lloh3:
	adrp	x9, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.2:
	ret
LBB0_3:
	ldr	w8, [x1]
	mov	w9, #30463
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.le	LBB0_8
; %bb.4:
	mov	w9, #30464
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.eq	LBB0_11
; %bb.5:
	mov	w9, #45328
	movk	w9, #2, lsl #16
	cmp	w8, w9
	b.eq	LBB0_12
; %bb.6:
	mov	w9, #60928
	movk	w9, #2, lsl #16
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.7:
Lloh6:
	adrp	x8, _EMU_QUIRK_SR_192000HZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMU_QUIRK_SR_192000HZ@GOTPAGEOFF]
	b	LBB0_15
LBB0_8:
	mov	w9, #48000
	cmp	w8, w9
	b.eq	LBB0_13
; %bb.9:
	mov	w9, #22664
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.10:
Lloh8:
	adrp	x8, _EMU_QUIRK_SR_88200HZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EMU_QUIRK_SR_88200HZ@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh10:
	adrp	x8, _EMU_QUIRK_SR_96000HZ@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EMU_QUIRK_SR_96000HZ@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
Lloh12:
	adrp	x8, _EMU_QUIRK_SR_176400HZ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EMU_QUIRK_SR_176400HZ@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
Lloh14:
	adrp	x8, _EMU_QUIRK_SR_48000HZ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EMU_QUIRK_SR_48000HZ@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh16:
	adrp	x8, _EMU_QUIRK_SR_44100HZ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EMU_QUIRK_SR_44100HZ@GOTPAGEOFF]
LBB0_15:
	ldrb	w1, [x8]
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	b	_snd_emuusb_set_samplerate
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ; @SNDRV_PCM_STREAM_CAPTURE
	.comm	_EMU_QUIRK_SR_48000HZ,1,0       ; @EMU_QUIRK_SR_48000HZ
	.comm	_EMU_QUIRK_SR_88200HZ,1,0       ; @EMU_QUIRK_SR_88200HZ
	.comm	_EMU_QUIRK_SR_96000HZ,1,0       ; @EMU_QUIRK_SR_96000HZ
	.comm	_EMU_QUIRK_SR_176400HZ,1,0      ; @EMU_QUIRK_SR_176400HZ
	.comm	_EMU_QUIRK_SR_192000HZ,1,0      ; @EMU_QUIRK_SR_192000HZ
	.comm	_EMU_QUIRK_SR_44100HZ,1,0       ; @EMU_QUIRK_SR_44100HZ
	.no_dead_strip	_set_format_emu_quirk
.subsections_via_symbols
