	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_au0828_analog_unregister       ## -- Begin function au0828_analog_unregister
	.p2align	4, 0x90
_au0828_analog_unregister:              ## @au0828_analog_unregister
	.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
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_dprintk
	movq	_au0828_sysfs_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_video_unregister_device
LBB0_2:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_video_unregister_device
LBB0_4:
	movq	_au0828_sysfs_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"au0828_release_resources called\n"

	.comm	_au0828_sysfs_lock,4,2          ## @au0828_sysfs_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_au0828_analog_unregister       ; -- Begin function au0828_analog_unregister
	.p2align	2
_au0828_analog_unregister:              ; @au0828_analog_unregister
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintk
Lloh2:
	adrp	x0, _au0828_sysfs_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _au0828_sysfs_lock@GOTPAGEOFF]
	bl	_mutex_lock
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_video_unregister_device
LBB0_2:
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_video_unregister_device
LBB0_4:
Lloh4:
	adrp	x0, _au0828_sysfs_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _au0828_sysfs_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"au0828_release_resources called\n"

	.comm	_au0828_sysfs_lock,4,2          ; @au0828_sysfs_lock
.subsections_via_symbols
