	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_es1938_playback_open
_snd_es1938_playback_open:              ## @snd_es1938_playback_open
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	8(%rbx), %r14
	movl	(%rbx), %ecx
	cmpl	$1, %ecx
	je	LBB0_4
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.2:
	addq	$16, %rax
	jmp	LBB0_3
LBB0_4:
	cmpl	$0, 8(%rax)
	je	LBB0_3
## %bb.5:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, (%rax)
	movq	_snd_es1938_playback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_SNDRV_PCM_HW_PARAM_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_hw_constraints_clocks@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_snd_pcm_hw_constraint_ratnums
	movq	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$65280, %ecx                    ## imm = 0xFF00
	callq	_snd_pcm_hw_constraint_minmax
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_snd_BUG
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_snd_es1938_playback,4,2        ## @snd_es1938_playback
	.comm	_SNDRV_PCM_HW_PARAM_RATE,4,2    ## @SNDRV_PCM_HW_PARAM_RATE
	.comm	_hw_constraints_clocks,4,2      ## @hw_constraints_clocks
	.comm	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES,4,2 ## @SNDRV_PCM_HW_PARAM_BUFFER_BYTES
	.no_dead_strip	_snd_es1938_playback_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_es1938_playback_open
_snd_es1938_playback_open:              ; @snd_es1938_playback_open
	.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	x20, x0
	bl	_snd_pcm_substream_chip
	ldr	x19, [x20, #8]
	ldr	w8, [x20]
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_6
; %bb.2:
	add	x0, x0, #16
	b	LBB0_5
LBB0_3:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh2:
	adrp	x8, _snd_es1938_playback@GOTPAGE
Lloh3:
	ldr	x8, [x8, _snd_es1938_playback@GOTPAGEOFF]
	str	x20, [x0]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh5:
	adrp	x8, _SNDRV_PCM_HW_PARAM_RATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_RATE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x3, _hw_constraints_clocks@GOTPAGE
Lloh9:
	ldr	x3, [x3, _hw_constraints_clocks@GOTPAGEOFF]
	mov	x0, x19
	mov	w1, #0
	bl	_snd_pcm_hw_constraint_ratnums
Lloh10:
	adrp	x8, _SNDRV_PCM_HW_PARAM_BUFFER_BYTES@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_BUFFER_BYTES@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #65280
	bl	_snd_pcm_hw_constraint_minmax
	mov	w0, #0
	b	LBB0_8
LBB0_6:
	bl	_snd_BUG
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_snd_es1938_playback,4,2        ; @snd_es1938_playback
	.comm	_SNDRV_PCM_HW_PARAM_RATE,4,2    ; @SNDRV_PCM_HW_PARAM_RATE
	.comm	_hw_constraints_clocks,4,2      ; @hw_constraints_clocks
	.comm	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES,4,2 ; @SNDRV_PCM_HW_PARAM_BUFFER_BYTES
	.no_dead_strip	_snd_es1938_playback_open
.subsections_via_symbols
