	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _snd_pcm_hw_param_set
__snd_pcm_hw_param_set:                 ## @_snd_pcm_hw_param_set
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_hw_is_mask
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_hw_param_mask
	testl	%r15d, %r15d
	jne	LBB0_12
## %bb.2:
	testl	%ebx, %ebx
	jns	LBB0_12
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	subl	(%rcx), %ebx
	movq	%rax, %rdi
	callq	_snd_mask_none
	jmp	LBB0_14
LBB0_4:
	movl	%r12d, %edi
	callq	_hw_is_interval
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_hw_param_interval
	movq	%rax, %rdi
	testl	%r15d, %r15d
	jne	LBB0_8
## %bb.6:
	testl	%ebx, %ebx
	jns	LBB0_8
## %bb.7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	callq	_snd_interval_none
	jmp	LBB0_14
LBB0_12:
	movl	%ebx, %eax
	sarl	$31, %eax
	testl	%ebx, %ebx
	movl	$1, %ebx
	cmovlel	%eax, %ebx
	addl	%r15d, %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_hw_param_mask
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_snd_mask_refine_set
LBB0_13:
	movl	%eax, %ebx
LBB0_14:
	testl	%ebx, %ebx
	je	LBB0_15
## %bb.16:
	movl	$1, %eax
	movl	%r12d, %ecx
	shll	%cl, %eax
	orl	%eax, (%r14)
	orl	%eax, 4(%r14)
	jmp	LBB0_17
LBB0_15:
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.10:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -64(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -48(%rbp)
	movl	%ebx, %eax
	sarl	$31, %eax
	addl	%r15d, %eax
	notl	%ebx
	shrl	$31, %ebx
	addl	%r15d, %ebx
	movl	%eax, -56(%rbp)
	movl	%ebx, -52(%rbp)
	leaq	-64(%rbp), %rsi
	callq	_snd_interval_refine
	jmp	LBB0_13
LBB0_9:
	movl	%r15d, %esi
	callq	_snd_interval_refine_set
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	__snd_pcm_hw_param_set
.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_set
__snd_pcm_hw_param_set:                 ; @_snd_pcm_hw_param_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_hw_is_mask
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_hw_param_mask
	cbnz	w21, LBB0_8
; %bb.2:
	tbz	w22, #31, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	bl	_snd_mask_none
	b	LBB0_10
LBB0_4:
	mov	x0, x20
	bl	_hw_is_interval
	cbz	x0, LBB0_12
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_hw_param_interval
	cbnz	w21, LBB0_14
; %bb.6:
	tbz	w22, #31, LBB0_14
; %bb.7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
	bl	_snd_interval_none
	b	LBB0_10
LBB0_8:
	asr	w8, w22, #31
	cmp	w22, #1
	csinc	w8, w8, wzr, lt
	add	w21, w8, w21
	mov	x0, x19
	mov	x1, x20
	bl	_hw_param_mask
	mov	x1, x21
	bl	_snd_mask_refine_set
LBB0_9:
	mov	x21, x0
LBB0_10:
	cbz	w21, LBB0_13
; %bb.11:
	mov	w8, #1
	lsl	w8, w8, w20
	ldr	d0, [x19]
	dup.2s	v1, w8
	orr.8b	v0, v0, v1
	str	d0, [x19]
	b	LBB0_13
LBB0_12:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
	cbz	w22, LBB0_16
; %bb.15:
	movi.2s	v0, #1
	str	d0, [sp]
	stp	xzr, xzr, [sp, #16]
	add	w8, w21, w22, asr #31
	mvn	w9, w22
	add	w9, w21, w9, lsr #31
	stp	w8, w9, [sp, #8]
	mov	x1, sp
	bl	_snd_interval_refine
	b	LBB0_9
LBB0_16:
	mov	x1, x21
	bl	_snd_interval_refine_set
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	__snd_pcm_hw_param_set
.subsections_via_symbols
