	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_pcm_format
_update_pcm_format:                     ## @update_pcm_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	%ecx, (%rsi)
	je	LBB0_4
## %bb.1:
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_AC_VERB_GET_STREAM_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edx, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	cmpl	%ebx, %eax
	je	LBB0_3
## %bb.2:
	movl	$1, %edi
	callq	_msleep
	movq	_AC_VERB_SET_STREAM_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	callq	_snd_hda_codec_write
LBB0_3:
	movl	%ebx, (%r14)
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_VERB_GET_STREAM_FORMAT,4,2  ## @AC_VERB_GET_STREAM_FORMAT
	.comm	_AC_VERB_SET_STREAM_FORMAT,4,2  ## @AC_VERB_SET_STREAM_FORMAT
	.no_dead_strip	_update_pcm_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_pcm_format
_update_pcm_format:                     ; @update_pcm_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
	ldr	w8, [x1]
	cmp	w8, w3
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _AC_VERB_GET_STREAM_FORMAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_VERB_GET_STREAM_FORMAT@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x1, x2
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
	cmp	w0, w19
	b.eq	LBB0_3
; %bb.2:
	mov	w0, #1
	bl	_msleep
Lloh3:
	adrp	x8, _AC_VERB_SET_STREAM_FORMAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AC_VERB_SET_STREAM_FORMAT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	mov	x4, x19
	bl	_snd_hda_codec_write
LBB0_3:
	str	w19, [x20]
LBB0_4:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_VERB_GET_STREAM_FORMAT,4,2  ; @AC_VERB_GET_STREAM_FORMAT
	.comm	_AC_VERB_SET_STREAM_FORMAT,4,2  ; @AC_VERB_SET_STREAM_FORMAT
	.no_dead_strip	_update_pcm_format
.subsections_via_symbols
