	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _snd_pcm_hw_param_max
__snd_pcm_hw_param_max:                 ## @_snd_pcm_hw_param_max
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	%ecx, %ebx
	notl	%ebx
	shrl	$31, %ebx
	xorl	%r12d, %r12d
	testl	%ecx, %ecx
	setne	%r12b
	cmovel	%ecx, %ebx
	addl	%edx, %ebx
	movl	%esi, %edi
	callq	_hw_is_mask
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_hw_param_mask
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.2:
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.3:
	movl	%eax, %edi
	callq	_snd_mask_none
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_9
LBB0_4:
	movl	%r15d, %edi
	callq	_hw_is_interval
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_hw_param_interval
	movl	%eax, %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_snd_interval_refine_max
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	movl	$1, %edx
	movl	%r15d, %ecx
	shll	%cl, %edx
	orl	%edx, (%r14)
	orl	%edx, 4(%r14)
	jmp	LBB0_11
LBB0_7:
	subl	%r12d, %ebx
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_snd_mask_refine_max
	testl	%eax, %eax
	jne	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	__snd_pcm_hw_param_max
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _snd_pcm_hw_param_max
__snd_pcm_hw_param_max:                 ; @_snd_pcm_hw_param_max
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x3
	mov	x20, x1
	mov	x19, x0
	mvn	w8, w3
	lsr	w8, w8, #31
	cmp	w3, #0
	csel	w8, wzr, w8, eq
	cset	w21, ne
	add	w22, w8, w2
	mov	x0, x1
	bl	_hw_is_mask
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_hw_param_mask
	cbz	w23, LBB0_6
; %bb.2:
	cbnz	w22, LBB0_6
; %bb.3:
	bl	_snd_mask_none
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	cbnz	w0, LBB0_7
	b	LBB0_9
LBB0_4:
	mov	x0, x20
	bl	_hw_is_interval
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_hw_param_interval
	mov	x1, x22
	mov	x2, x21
	bl	_snd_interval_refine_max
	cbnz	w0, LBB0_7
	b	LBB0_9
LBB0_6:
	sub	w1, w22, w21
	bl	_snd_mask_refine_max
	cbz	w0, LBB0_9
LBB0_7:
	mov	w8, #1
	lsl	w8, w8, w20
	ldr	d0, [x19]
	dup.2s	v1, w8
	orr.8b	v0, v0, v1
	str	d0, [x19]
	b	LBB0_9
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	__snd_pcm_hw_param_max
.subsections_via_symbols
