	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odev_open
_odev_open:                             ## @odev_open
	.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
	callq	_iminor
	movq	_SNDRV_MINOR_OSS_MUSIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_SNDRV_SEQ_OSS_MODE_MUSIC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SNDRV_SEQ_OSS_MODE_SYNTH@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	movq	_register_mutex@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_snd_seq_oss_open
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_MINOR_OSS_MUSIC,8,3      ## @SNDRV_MINOR_OSS_MUSIC
	.comm	_SNDRV_SEQ_OSS_MODE_MUSIC,4,2   ## @SNDRV_SEQ_OSS_MODE_MUSIC
	.comm	_SNDRV_SEQ_OSS_MODE_SYNTH,4,2   ## @SNDRV_SEQ_OSS_MODE_SYNTH
	.comm	_register_mutex,4,2             ## @register_mutex
	.no_dead_strip	_odev_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odev_open
_odev_open:                             ; @odev_open
	.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
	bl	_iminor
Lloh0:
	adrp	x8, _SNDRV_MINOR_OSS_MUSIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_MINOR_OSS_MUSIC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SNDRV_SEQ_OSS_MODE_MUSIC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SNDRV_SEQ_OSS_MODE_MUSIC@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x10, _SNDRV_SEQ_OSS_MODE_SYNTH@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SNDRV_SEQ_OSS_MODE_SYNTH@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x9, x10, eq
	ldr	w20, [x8]
Lloh7:
	adrp	x21, _register_mutex@GOTPAGE
Lloh8:
	ldr	x21, [x21, _register_mutex@GOTPAGEOFF]
	mov	x0, x21
	bl	_mutex_lock
	mov	x0, x19
	mov	x1, x20
	bl	_snd_seq_oss_open
	mov	x19, x0
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_MINOR_OSS_MUSIC,8,3      ; @SNDRV_MINOR_OSS_MUSIC
	.comm	_SNDRV_SEQ_OSS_MODE_MUSIC,4,2   ; @SNDRV_SEQ_OSS_MODE_MUSIC
	.comm	_SNDRV_SEQ_OSS_MODE_SYNTH,4,2   ; @SNDRV_SEQ_OSS_MODE_SYNTH
	.comm	_register_mutex,4,2             ; @register_mutex
	.no_dead_strip	_odev_open
.subsections_via_symbols
