	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_gf1_pcm_capture_hw_params
_snd_gf1_pcm_capture_hw_params:         ## @snd_gf1_pcm_capture_hw_params
	.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	%rsi, %r15
	movq	%rdi, %r14
	callq	_snd_pcm_substream_chip
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_params_buffer_bytes
	movl	%eax, 20(%rbx)
	movq	%r15, %rdi
	callq	_params_period_bytes
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	movl	$33, (%rbx)
	movq	%r15, %rdi
	callq	_params_channels
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.1:
	orb	$2, (%rbx)
LBB0_2:
	cmpl	$4, 4(%rbx)
	jl	LBB0_4
## %bb.3:
	orb	$4, (%rbx)
LBB0_4:
	movq	%r15, %rdi
	callq	_params_format
	movl	%eax, %edi
	callq	_snd_pcm_format_unsigned
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	orb	$-128, (%rbx)
LBB0_6:
	movq	%r15, %rdi
	callq	_params_buffer_bytes
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_pcm_lib_malloc_pages       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_gf1_pcm_capture_hw_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_gf1_pcm_capture_hw_params
_snd_gf1_pcm_capture_hw_params:         ; @snd_gf1_pcm_capture_hw_params
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	bl	_snd_pcm_substream_chip
	mov	x21, x0
	mov	x0, x20
	bl	_params_buffer_bytes
	str	w0, [x21, #20]
	mov	x0, x20
	bl	_params_period_bytes
	str	w0, [x21, #16]
	str	xzr, [x21, #8]
	mov	w8, #33
	str	w8, [x21]
	mov	x0, x20
	bl	_params_channels
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	w8, [x21]
	orr	w8, w8, #0x2
	str	w8, [x21]
LBB0_2:
	ldr	w8, [x21, #4]
	cmp	w8, #4
	b.lt	LBB0_4
; %bb.3:
	ldr	w8, [x21]
	orr	w8, w8, #0x4
	str	w8, [x21]
LBB0_4:
	mov	x0, x20
	bl	_params_format
	bl	_snd_pcm_format_unsigned
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x21]
	orr	w8, w8, #0x80
	str	w8, [x21]
LBB0_6:
	mov	x0, x20
	bl	_params_buffer_bytes
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_pcm_lib_malloc_pages
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_gf1_pcm_capture_hw_params
.subsections_via_symbols
