	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initialize_timer
_initialize_timer:                      ## @initialize_timer
	.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, %r14
	movq	16(%rdi), %rax
	movq	(%rax), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_2:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_MIN_FREQUENCY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	cmpq	%r15, %rax
	jb	LBB0_6
## %bb.5:
	movq	_MAX_FREQUENCY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	cmpq	%r15, %rax
	cmovbq	%rax, %r15
	jmp	LBB0_6
LBB0_3:
	movq	_DEFAULT_FREQUENCY@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_6:
	movl	$1, 8(%r14)
	movq	_SNDRV_TIMER_HW_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_14
## %bb.7:
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
LBB0_10:
	imulq	%r15, %rcx
	cmpq	$1000000000, %rcx               ## imm = 0x3B9ACA00
	ja	LBB0_11
## %bb.12:
	movl	$1000000000, %eax               ## imm = 0x3B9ACA00
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_13
LBB0_11:
	xorl	%eax, %eax
LBB0_13:
	testq	%rax, %rax
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, 8(%r14)
LBB0_14:
	movl	$1, 12(%r14)
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rbx, %rdi
	callq	*%rax
	movq	%rax, %rcx
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DEFAULT_FREQUENCY,8,3          ## @DEFAULT_FREQUENCY
	.comm	_MIN_FREQUENCY,8,3              ## @MIN_FREQUENCY
	.comm	_MAX_FREQUENCY,8,3              ## @MAX_FREQUENCY
	.comm	_SNDRV_TIMER_HW_SLAVE,4,2       ## @SNDRV_TIMER_HW_SLAVE
	.no_dead_strip	_initialize_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initialize_timer
_initialize_timer:                      ; @initialize_timer
	.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, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
	cmp	x20, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_2:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.3:
Lloh3:
	adrp	x9, _MIN_FREQUENCY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MIN_FREQUENCY@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x9]
	cmp	x8, x21
	b.lo	LBB0_6
; %bb.4:
Lloh6:
	adrp	x9, _MAX_FREQUENCY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_FREQUENCY@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x21, x8, x9, lo
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _DEFAULT_FREQUENCY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DEFAULT_FREQUENCY@GOTPAGEOFF]
Lloh11:
	ldr	x21, [x8]
LBB0_6:
	mov	w22, #1
	str	w22, [x19, #8]
	ldr	w8, [x20]
Lloh12:
	adrp	x9, _SNDRV_TIMER_HW_SLAVE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SNDRV_TIMER_HW_SLAVE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.7:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_11
LBB0_8:
	mul	x8, x0, x21
	mov	w9, #51712
	movk	w9, #15258, lsl #16
	udiv	x8, x9, x8
	cmp	w8, #0
	csinc	w8, w8, wzr, ne
	str	w8, [x19, #8]
LBB0_9:
	mov	w0, #0
	str	w22, [x19, #12]
LBB0_10:
	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
LBB0_11:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_9
; %bb.12:
	mov	x0, x20
	blr	x8
	cbnz	x0, LBB0_8
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DEFAULT_FREQUENCY,8,3          ; @DEFAULT_FREQUENCY
	.comm	_MIN_FREQUENCY,8,3              ; @MIN_FREQUENCY
	.comm	_MAX_FREQUENCY,8,3              ; @MAX_FREQUENCY
	.comm	_SNDRV_TIMER_HW_SLAVE,4,2       ; @SNDRV_TIMER_HW_SLAVE
	.no_dead_strip	_initialize_timer
.subsections_via_symbols
