	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8903_shutdown
_wm8903_shutdown:                       ## @wm8903_shutdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	decl	20(%rax)
	cmpq	%rdi, 8(%rax)
	jne	LBB0_5
	jmp	LBB0_4
LBB0_2:
	decl	16(%rax)
	cmpq	%rdi, 8(%rax)
	jne	LBB0_5
LBB0_4:
	movq	(%rax), %rcx
	movq	%rcx, 8(%rax)
LBB0_5:
	movq	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.no_dead_strip	_wm8903_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8903_shutdown
_wm8903_shutdown:                       ; @wm8903_shutdown
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x10, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x8, #20]
	sub	w9, w9, #1
	str	w9, [x8, #20]
	b	LBB0_3
LBB0_2:
	ldr	w9, [x8, #16]
	sub	w9, w9, #1
	str	w9, [x8, #16]
LBB0_3:
	ldr	x9, [x8, #8]
	cmp	x9, x0
	b.eq	LBB0_5
; %bb.4:
	str	xzr, [x8]
	ret
LBB0_5:
	ldr	x9, [x8]
	str	x9, [x8, #8]
	str	xzr, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.no_dead_strip	_wm8903_shutdown
.subsections_via_symbols
