	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_opl3_timer2_init
_snd_opl3_timer2_init:                  ## @snd_opl3_timer2_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	$0, -24(%rbp)
	movq	_SNDRV_TIMER_CLASS_CARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_SNDRV_TIMER_SCLASS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	8(%rdi), %rdi
	movl	(%rdi), %eax
	movl	%eax, -40(%rbp)
	movl	%esi, -56(%rbp)
	movq	$0, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	callq	_snd_timer_new
	movl	%eax, %ebx
	movq	-24(%rbp), %rax
	testl	%ebx, %ebx
	js	LBB0_2
## %bb.1:
	movl	16(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movq	-24(%rbp), %rax
	movq	%r14, 8(%rax)
	movq	_snd_opl3_timer2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_2:
	movq	%rax, (%r14)
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_TIMER_CLASS_CARD,4,2     ## @SNDRV_TIMER_CLASS_CARD
	.comm	_SNDRV_TIMER_SCLASS_NONE,4,2    ## @SNDRV_TIMER_SCLASS_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AdLib timer #2"

	.comm	_snd_opl3_timer2,4,2            ## @snd_opl3_timer2
	.no_dead_strip	_snd_opl3_timer2_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_opl3_timer2_init
_snd_opl3_timer2_init:                  ; @snd_opl3_timer2_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _SNDRV_TIMER_CLASS_CARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_TIMER_CLASS_CARD@GOTPAGEOFF]
	stur	xzr, [x29, #-24]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SNDRV_TIMER_SCLASS_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNDRV_TIMER_SCLASS_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #28]
	ldr	x0, [x0, #8]
	ldr	w8, [x0]
	str	w8, [sp, #24]
	str	w1, [sp, #8]
	str	xzr, [sp, #16]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	sub	x3, x29, #24
	bl	_snd_timer_new
	mov	x20, x0
	ldur	x8, [x29, #-24]
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w0, [x8, #16]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	ldur	x8, [x29, #-24]
	str	x19, [x8, #8]
Lloh10:
	adrp	x9, _snd_opl3_timer2@GOTPAGE
Lloh11:
	ldr	x9, [x9, _snd_opl3_timer2@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	str	w9, [x8]
LBB0_2:
	str	x8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_TIMER_CLASS_CARD,4,2     ; @SNDRV_TIMER_CLASS_CARD
	.comm	_SNDRV_TIMER_SCLASS_NONE,4,2    ; @SNDRV_TIMER_SCLASS_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AdLib timer #2"

	.comm	_snd_opl3_timer2,4,2            ; @snd_opl3_timer2
	.no_dead_strip	_snd_opl3_timer2_init
.subsections_via_symbols
