	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_notifier
_drm_notifier:                          ## @drm_notifier
	.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	8(%rdi), %rax
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	movl	(%rax), %edi
	callq	__DRM_LOCK_IS_HELD
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	__DRM_LOCKING_CONTEXT
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.3:
	movq	__DRM_LOCK_CONT@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	movl	(%rdi), %ebx
	movl	(%r14), %edx
	orl	%ebx, %edx
	movl	%ebx, %esi
	callq	_cmpxchg
	cmpl	%ebx, %eax
	jne	LBB0_4
## %bb.5:
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__DRM_LOCK_CONT,4,2             ## @_DRM_LOCK_CONT
	.no_dead_strip	_drm_notifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_notifier
_drm_notifier:                          ; @drm_notifier
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w0, [x8]
	bl	__DRM_LOCK_IS_HELD
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	__DRM_LOCKING_CONTEXT
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x21, __DRM_LOCK_CONT@GOTPAGE
Lloh1:
	ldr	x21, [x21, __DRM_LOCK_CONT@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	ldr	w20, [x0]
	ldr	w8, [x21]
	orr	w2, w8, w20
	mov	x1, x20
	bl	_cmpxchg
	cmp	w0, w20
	b.ne	LBB0_4
; %bb.5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #1
LBB0_7:
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__DRM_LOCK_CONT,4,2             ; @_DRM_LOCK_CONT
	.no_dead_strip	_drm_notifier
.subsections_via_symbols
