	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_als4000_get_format
_snd_als4000_get_format:                ## @snd_als4000_get_format
	.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	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_snd_pcm_format_signed
	xorl	%r14d, %r14d
	movl	$0, %r15d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ALS4000_FORMAT_SIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	movl	4(%rbx), %edi
	callq	_snd_pcm_format_physical_width
	movl	%eax, %ecx
	movl	$0, %eax
	cmpl	$16, %ecx
	jne	LBB0_4
## %bb.3:
	movq	_ALS4000_FORMAT_16BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%r15d, %eax
	cmpl	$2, (%rbx)
	jl	LBB0_6
## %bb.5:
	movq	_ALS4000_FORMAT_STEREO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_6:
	orl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALS4000_FORMAT_SIGNED,4,2      ## @ALS4000_FORMAT_SIGNED
	.comm	_ALS4000_FORMAT_16BIT,4,2       ## @ALS4000_FORMAT_16BIT
	.comm	_ALS4000_FORMAT_STEREO,4,2      ## @ALS4000_FORMAT_STEREO
	.no_dead_strip	_snd_als4000_get_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_als4000_get_format
_snd_als4000_get_format:                ; @snd_als4000_get_format
	.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	x19, x0
	ldr	w0, [x0, #4]
	bl	_snd_pcm_format_signed
Lloh0:
	adrp	x8, _ALS4000_FORMAT_SIGNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALS4000_FORMAT_SIGNED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, wzr, w8, eq
	ldr	w0, [x19, #4]
	bl	_snd_pcm_format_physical_width
Lloh3:
	adrp	x8, _ALS4000_FORMAT_16BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALS4000_FORMAT_16BIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, #16
	csel	w8, w8, wzr, eq
	orr	w8, w8, w20
Lloh6:
	adrp	x9, _ALS4000_FORMAT_STEREO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ALS4000_FORMAT_STEREO@GOTPAGEOFF]
	ldr	w10, [x19]
Lloh8:
	ldr	w9, [x9]
	cmp	w10, #1
	csel	w9, w9, wzr, gt
	orr	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ALS4000_FORMAT_SIGNED,4,2      ; @ALS4000_FORMAT_SIGNED
	.comm	_ALS4000_FORMAT_16BIT,4,2       ; @ALS4000_FORMAT_16BIT
	.comm	_ALS4000_FORMAT_STEREO,4,2      ; @ALS4000_FORMAT_STEREO
	.no_dead_strip	_snd_als4000_get_format
.subsections_via_symbols
