	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_timer_register_system
_snd_timer_register_system:             ## @snd_timer_register_system
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_SNDRV_TIMER_GLOBAL_SYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	leaq	-16(%rbp), %rdx
	callq	_snd_timer_global_new
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	-16(%rbp), %rax
	movl	20(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	movq	_snd_timer_system@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-16(%rbp), %rcx
	movl	%eax, 16(%rcx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_init_timer
	movq	_snd_timer_s_function@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	-16(%rbp), %rdi
	movq	%rdi, (%rbx)
	movq	%rbx, 8(%rdi)
	movq	_snd_timer_free_system@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	callq	_snd_timer_global_register
	jmp	LBB0_4
LBB0_2:
	movq	-16(%rbp), %rdi
	callq	_snd_timer_free
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"system"

	.comm	_SNDRV_TIMER_GLOBAL_SYSTEM,4,2  ## @SNDRV_TIMER_GLOBAL_SYSTEM
L_.str.1:                               ## @.str.1
	.asciz	"system timer"

	.comm	_snd_timer_system,4,2           ## @snd_timer_system
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_snd_timer_s_function,4,2       ## @snd_timer_s_function
	.comm	_snd_timer_free_system,4,2      ## @snd_timer_free_system
	.no_dead_strip	_snd_timer_register_system
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_timer_register_system
_snd_timer_register_system:             ; @snd_timer_register_system
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _SNDRV_TIMER_GLOBAL_SYSTEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_TIMER_GLOBAL_SYSTEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_snd_timer_global_new
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #20]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
Lloh7:
	adrp	x8, _snd_timer_system@GOTPAGE
Lloh8:
	ldr	x8, [x8, _snd_timer_system@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	str	w8, [x9, #16]
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.2:
	mov	x19, x0
	bl	_init_timer
Lloh13:
	adrp	x8, _snd_timer_s_function@GOTPAGE
Lloh14:
	ldr	x8, [x8, _snd_timer_s_function@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x0, [sp, #8]
	str	x0, [x19]
	str	x19, [x0, #8]
Lloh16:
	adrp	x8, _snd_timer_free_system@GOTPAGE
Lloh17:
	ldr	x8, [x8, _snd_timer_free_system@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x0]
	bl	_snd_timer_global_register
	b	LBB0_4
LBB0_3:
	ldr	x0, [sp, #8]
	bl	_snd_timer_free
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"system"

	.comm	_SNDRV_TIMER_GLOBAL_SYSTEM,4,2  ; @SNDRV_TIMER_GLOBAL_SYSTEM
l_.str.1:                               ; @.str.1
	.asciz	"system timer"

	.comm	_snd_timer_system,4,2           ; @snd_timer_system
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_snd_timer_s_function,4,2       ; @snd_timer_s_function
	.comm	_snd_timer_free_system,4,2      ; @snd_timer_free_system
	.no_dead_strip	_snd_timer_register_system
.subsections_via_symbols
