	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_oss_disconnect_minor
_snd_pcm_oss_disconnect_minor:          ## @snd_pcm_oss_disconnect_minor
	.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	%rdi, %rbx
	callq	_oss_pcm
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_oss_pcm
	testb	$1, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_oss_pcm
	andb	$-2, (%rax)
	movq	_SNDRV_OSS_DEVICE_TYPE_PCM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	xorl	%edx, %edx
	callq	_snd_unregister_oss_device
LBB0_3:
	movq	%rbx, %rdi
	callq	_oss_pcm
	testb	$2, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_oss_pcm
	andb	$-3, (%rax)
	movq	_SNDRV_OSS_DEVICE_TYPE_PCM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	movl	$1, %edx
	callq	_snd_unregister_oss_device
LBB0_5:
	movq	%rbx, %rdi
	callq	_oss_pcm
	movq	$0, 8(%rax)
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_OSS_DEVICE_TYPE_PCM,4,2  ## @SNDRV_OSS_DEVICE_TYPE_PCM
	.comm	_dsp_map,8,3                    ## @dsp_map
	.comm	_SNDRV_OSS_INFO_DEV_AUDIO,4,2   ## @SNDRV_OSS_INFO_DEV_AUDIO
	.no_dead_strip	_snd_pcm_oss_disconnect_minor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pcm_oss_disconnect_minor
_snd_pcm_oss_disconnect_minor:          ; @snd_pcm_oss_disconnect_minor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_oss_pcm
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_oss_pcm
	ldrb	w8, [x0]
Lloh0:
	adrp	x20, _SNDRV_OSS_DEVICE_TYPE_PCM@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SNDRV_OSS_DEVICE_TYPE_PCM@GOTPAGEOFF]
	tbz	w8, #0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_oss_pcm
	ldr	w8, [x0]
	and	w8, w8, #0xfffffffe
	str	w8, [x0]
	ldr	w0, [x20]
	ldr	x1, [x19]
	mov	w2, #0
	bl	_snd_unregister_oss_device
LBB0_3:
	mov	x0, x19
	bl	_oss_pcm
	ldrb	w8, [x0]
	tbz	w8, #1, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_oss_pcm
	ldr	w8, [x0]
	and	w8, w8, #0xfffffffd
	str	w8, [x0]
	ldr	w0, [x20]
	ldr	x1, [x19]
	mov	w2, #1
	bl	_snd_unregister_oss_device
LBB0_5:
	mov	x0, x19
	bl	_oss_pcm
	str	xzr, [x0, #8]
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_OSS_DEVICE_TYPE_PCM,4,2  ; @SNDRV_OSS_DEVICE_TYPE_PCM
	.comm	_dsp_map,8,3                    ; @dsp_map
	.comm	_SNDRV_OSS_INFO_DEV_AUDIO,4,2   ; @SNDRV_OSS_INFO_DEV_AUDIO
	.no_dead_strip	_snd_pcm_oss_disconnect_minor
.subsections_via_symbols
