	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_audio_format
_set_audio_format:                      ## @set_audio_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	%rsi, %r14
	movq	%rdi, %r15
	movq	_DSP_AUDIOFORM_SS_16LE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%rdx), %eax
	cmpl	$3, %eax
	jl	LBB0_9
## %bb.1:
	movl	4(%rdx), %ecx
	cmpl	$32, %ecx
	je	LBB0_6
## %bb.2:
	cmpl	$24, %ecx
	je	LBB0_5
## %bb.3:
	cmpl	$16, %ecx
	jne	LBB0_8
## %bb.4:
	movq	_DSP_AUDIOFORM_SUPER_INTERLEAVE_16LE@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_9:
	cmpq	$0, 16(%rdx)
	je	LBB0_12
## %bb.10:
	cmpl	$1, %eax
	jne	LBB0_31
## %bb.11:
	movq	_DSP_AUDIOFORM_MM_32BE@GOTPCREL(%rip), %rax
LBB0_30:
	movq	(%rax), %rbx
	jmp	LBB0_31
LBB0_12:
	movl	4(%rdx), %ecx
	cmpl	$1, %eax
	jne	LBB0_16
## %bb.13:
	cmpl	$32, %ecx
	jne	LBB0_16
## %bb.14:
	movl	$32, %ecx
	cmpl	$0, 8(%rdx)
	je	LBB0_15
LBB0_16:
	addl	$-8, %ecx
	roll	$29, %ecx
	cmpl	$3, %ecx
	je	LBB0_27
## %bb.17:
	cmpl	$2, %ecx
	je	LBB0_24
## %bb.18:
	testl	%ecx, %ecx
	jne	LBB0_22
## %bb.19:
	cmpl	$2, %eax
	jne	LBB0_21
## %bb.20:
	movq	_DSP_AUDIOFORM_SS_8@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_6:
	movq	_DSP_AUDIOFORM_SUPER_INTERLEAVE_32LE@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_DSP_AUDIOFORM_SUPER_INTERLEAVE_24LE@GOTPCREL(%rip), %rcx
LBB0_7:
	movq	(%rcx), %rbx
LBB0_8:
	orq	%rax, %rbx
LBB0_31:
	movq	%rbx, %rdi
	callq	_DE_ACT
	movq	%rbx, %rdi
	callq	_cpu_to_le16
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%r14,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	cmpl	$2, %eax
	jne	LBB0_29
## %bb.28:
	movq	_DSP_AUDIOFORM_SS_32LE@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_24:
	cmpl	$2, %eax
	jne	LBB0_26
## %bb.25:
	movq	_DSP_AUDIOFORM_SS_24LE@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_22:
	cmpl	$2, %eax
	je	LBB0_31
## %bb.23:
	movq	_DSP_AUDIOFORM_MS_16LE@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_15:
	movq	_DSP_AUDIOFORM_MM_32LE@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_21:
	movq	_DSP_AUDIOFORM_MS_8@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_29:
	movq	_DSP_AUDIOFORM_MS_32LE@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_26:
	movq	_DSP_AUDIOFORM_MS_24LE@GOTPCREL(%rip), %rax
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_DSP_AUDIOFORM_SS_16LE,8,3      ## @DSP_AUDIOFORM_SS_16LE
	.comm	_DSP_AUDIOFORM_SUPER_INTERLEAVE_16LE,8,3 ## @DSP_AUDIOFORM_SUPER_INTERLEAVE_16LE
	.comm	_DSP_AUDIOFORM_SUPER_INTERLEAVE_24LE,8,3 ## @DSP_AUDIOFORM_SUPER_INTERLEAVE_24LE
	.comm	_DSP_AUDIOFORM_SUPER_INTERLEAVE_32LE,8,3 ## @DSP_AUDIOFORM_SUPER_INTERLEAVE_32LE
	.comm	_DSP_AUDIOFORM_MM_32BE,8,3      ## @DSP_AUDIOFORM_MM_32BE
	.comm	_DSP_AUDIOFORM_MM_32LE,8,3      ## @DSP_AUDIOFORM_MM_32LE
	.comm	_DSP_AUDIOFORM_SS_8,8,3         ## @DSP_AUDIOFORM_SS_8
	.comm	_DSP_AUDIOFORM_MS_8,8,3         ## @DSP_AUDIOFORM_MS_8
	.comm	_DSP_AUDIOFORM_MS_16LE,8,3      ## @DSP_AUDIOFORM_MS_16LE
	.comm	_DSP_AUDIOFORM_SS_24LE,8,3      ## @DSP_AUDIOFORM_SS_24LE
	.comm	_DSP_AUDIOFORM_MS_24LE,8,3      ## @DSP_AUDIOFORM_MS_24LE
	.comm	_DSP_AUDIOFORM_SS_32LE,8,3      ## @DSP_AUDIOFORM_SS_32LE
	.comm	_DSP_AUDIOFORM_MS_32LE,8,3      ## @DSP_AUDIOFORM_MS_32LE
	.comm	_DSP_AUDIOFORM_SS_32BE,8,3      ## @DSP_AUDIOFORM_SS_32BE
	.no_dead_strip	_set_audio_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_audio_format
_set_audio_format:                      ; @set_audio_format
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _DSP_AUDIOFORM_SS_16LE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSP_AUDIOFORM_SS_16LE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	w8, [x2]
	cmp	w8, #3
	b.lt	LBB0_5
; %bb.1:
	ldr	w10, [x2, #4]
	cmp	w10, #32
	b.eq	LBB0_16
; %bb.2:
	cmp	w10, #24
	b.eq	LBB0_17
; %bb.3:
	cmp	w10, #16
	b.ne	LBB0_19
; %bb.4:
Lloh3:
	adrp	x9, _DSP_AUDIOFORM_SUPER_INTERLEAVE_16LE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DSP_AUDIOFORM_SUPER_INTERLEAVE_16LE@GOTPAGEOFF]
	b	LBB0_18
LBB0_5:
	ldr	x10, [x2, #16]
	cbz	x10, LBB0_7
; %bb.6:
Lloh5:
	adrp	x10, _DSP_AUDIOFORM_MM_32BE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DSP_AUDIOFORM_MM_32BE@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	w8, #1
	csel	x21, x10, x9, eq
	b	LBB0_30
LBB0_7:
	ldr	w10, [x2, #4]
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.8:
	cmp	w10, #32
	b.ne	LBB0_11
; %bb.9:
	ldr	w10, [x2, #8]
	cbz	w10, LBB0_25
; %bb.10:
	mov	w10, #32
LBB0_11:
	sub	w10, w10, #8
	ror	w10, w10, #3
	cmp	w10, #3
	b.eq	LBB0_20
; %bb.12:
	cmp	w10, #2
	b.eq	LBB0_22
; %bb.13:
	cbnz	w10, LBB0_24
; %bb.14:
	cmp	w8, #2
	b.ne	LBB0_26
; %bb.15:
Lloh8:
	adrp	x8, _DSP_AUDIOFORM_SS_8@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DSP_AUDIOFORM_SS_8@GOTPAGEOFF]
	b	LBB0_29
LBB0_16:
Lloh10:
	adrp	x9, _DSP_AUDIOFORM_SUPER_INTERLEAVE_32LE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DSP_AUDIOFORM_SUPER_INTERLEAVE_32LE@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh12:
	adrp	x9, _DSP_AUDIOFORM_SUPER_INTERLEAVE_24LE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DSP_AUDIOFORM_SUPER_INTERLEAVE_24LE@GOTPAGEOFF]
LBB0_18:
	ldr	x9, [x9]
LBB0_19:
	orr	x21, x9, x8
	b	LBB0_30
LBB0_20:
	cmp	w8, #2
	b.ne	LBB0_27
; %bb.21:
Lloh14:
	adrp	x8, _DSP_AUDIOFORM_SS_32LE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DSP_AUDIOFORM_SS_32LE@GOTPAGEOFF]
	b	LBB0_29
LBB0_22:
	cmp	w8, #2
	b.ne	LBB0_28
; %bb.23:
Lloh16:
	adrp	x8, _DSP_AUDIOFORM_SS_24LE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DSP_AUDIOFORM_SS_24LE@GOTPAGEOFF]
	b	LBB0_29
LBB0_24:
Lloh18:
	adrp	x10, _DSP_AUDIOFORM_MS_16LE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _DSP_AUDIOFORM_MS_16LE@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	w8, #2
	csel	x21, x9, x10, eq
	b	LBB0_30
LBB0_25:
Lloh21:
	adrp	x8, _DSP_AUDIOFORM_MM_32LE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DSP_AUDIOFORM_MM_32LE@GOTPAGEOFF]
	b	LBB0_29
LBB0_26:
Lloh23:
	adrp	x8, _DSP_AUDIOFORM_MS_8@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DSP_AUDIOFORM_MS_8@GOTPAGEOFF]
	b	LBB0_29
LBB0_27:
Lloh25:
	adrp	x8, _DSP_AUDIOFORM_MS_32LE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DSP_AUDIOFORM_MS_32LE@GOTPAGEOFF]
	b	LBB0_29
LBB0_28:
Lloh27:
	adrp	x8, _DSP_AUDIOFORM_MS_24LE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DSP_AUDIOFORM_MS_24LE@GOTPAGEOFF]
LBB0_29:
	ldr	x21, [x8]
LBB0_30:
	mov	x0, x21
	bl	_DE_ACT
	mov	x0, x21
	bl	_cpu_to_le16
	ldr	x8, [x20]
	ldr	x8, [x8]
	str	w0, [x8, x19, lsl #2]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_DSP_AUDIOFORM_SS_16LE,8,3      ; @DSP_AUDIOFORM_SS_16LE
	.comm	_DSP_AUDIOFORM_SUPER_INTERLEAVE_16LE,8,3 ; @DSP_AUDIOFORM_SUPER_INTERLEAVE_16LE
	.comm	_DSP_AUDIOFORM_SUPER_INTERLEAVE_24LE,8,3 ; @DSP_AUDIOFORM_SUPER_INTERLEAVE_24LE
	.comm	_DSP_AUDIOFORM_SUPER_INTERLEAVE_32LE,8,3 ; @DSP_AUDIOFORM_SUPER_INTERLEAVE_32LE
	.comm	_DSP_AUDIOFORM_MM_32BE,8,3      ; @DSP_AUDIOFORM_MM_32BE
	.comm	_DSP_AUDIOFORM_MM_32LE,8,3      ; @DSP_AUDIOFORM_MM_32LE
	.comm	_DSP_AUDIOFORM_SS_8,8,3         ; @DSP_AUDIOFORM_SS_8
	.comm	_DSP_AUDIOFORM_MS_8,8,3         ; @DSP_AUDIOFORM_MS_8
	.comm	_DSP_AUDIOFORM_MS_16LE,8,3      ; @DSP_AUDIOFORM_MS_16LE
	.comm	_DSP_AUDIOFORM_SS_24LE,8,3      ; @DSP_AUDIOFORM_SS_24LE
	.comm	_DSP_AUDIOFORM_MS_24LE,8,3      ; @DSP_AUDIOFORM_MS_24LE
	.comm	_DSP_AUDIOFORM_SS_32LE,8,3      ; @DSP_AUDIOFORM_SS_32LE
	.comm	_DSP_AUDIOFORM_MS_32LE,8,3      ; @DSP_AUDIOFORM_MS_32LE
	.comm	_DSP_AUDIOFORM_SS_32BE,8,3      ; @DSP_AUDIOFORM_SS_32BE
	.no_dead_strip	_set_audio_format
.subsections_via_symbols
