	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __unclaimed_reg_debug
___unclaimed_reg_debug:                 ## @__unclaimed_reg_debug
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movl	%esi, %r15d
	callq	_check_for_unclaimed_mmio
	testq	%rax, %rax
	setne	%al
	testl	%ebx, %ebx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %r12d
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rbx
	cmoveq	%rax, %rbx
	movl	%r15d, %edi
	callq	_i915_mmio_reg_offset
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_WARN
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_i915_modparams@GOTPCREL(%rip), %rax
	decl	(%rax)
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unclaimed %s register 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"read from"

L_.str.2:                               ## @.str.2
	.asciz	"write to"

	.comm	_i915_modparams,4,2             ## @i915_modparams
	.no_dead_strip	___unclaimed_reg_debug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __unclaimed_reg_debug
___unclaimed_reg_debug:                 ; @__unclaimed_reg_debug
	.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, x3
	mov	x20, x2
	mov	x21, x1
	bl	_check_for_unclaimed_mmio
	cmp	w19, #0
	ccmp	x0, #0, #4, eq
	cset	w19, ne
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w20, #0
	csel	x20, x9, x8, eq
	mov	x0, x21
	bl	_i915_mmio_reg_offset
	mov	x3, x0
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_WARN
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _i915_modparams@GOTPAGE
Lloh7:
	ldr	x8, [x8, _i915_modparams@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_2:
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unclaimed %s register 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"read from"

l_.str.2:                               ; @.str.2
	.asciz	"write to"

	.comm	_i915_modparams,4,2             ; @i915_modparams
	.no_dead_strip	___unclaimed_reg_debug
.subsections_via_symbols
