	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_fw_domain
_find_fw_domain:                        ## @find_fw_domain
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	4(%rdi), %edx
	movl	8(%rdi), %esi
	movq	_fw_range_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	callq	_BSEARCH
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	(%rax), %edi
	movq	_FORCEWAKE_ALL@GOTPCREL(%rip), %rcx
	movl	(%rbx), %eax
	cmpl	(%rcx), %edi
	je	LBB0_4
## %bb.3:
	notl	%eax
	andl	%eax, %edi
	leaq	L_.str(%rip), %rsi
	movl	%edi, %edx
	movl	%r14d, %ecx
	callq	_WARN
	movl	(%r15), %eax
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fw_range_cmp,4,2               ## @fw_range_cmp
	.comm	_FORCEWAKE_ALL,4,2              ## @FORCEWAKE_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Uninitialized forcewake domain(s) 0x%x accessed at 0x%x\n"

	.no_dead_strip	_find_fw_domain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_fw_domain
_find_fw_domain:                        ; @find_fw_domain
	.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, x1
	mov	x21, x0
	ldp	w2, w1, [x0, #4]
Lloh0:
	adrp	x8, _fw_range_cmp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fw_range_cmp@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_BSEARCH
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _FORCEWAKE_ALL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FORCEWAKE_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w0, [x21]
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.2:
	bic	w0, w8, w0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x0
	mov	x3, x19
	bl	_WARN
	ldr	w0, [x20]
LBB0_3:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_fw_range_cmp,4,2               ; @fw_range_cmp
	.comm	_FORCEWAKE_ALL,4,2              ; @FORCEWAKE_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Uninitialized forcewake domain(s) 0x%x accessed at 0x%x\n"

	.no_dead_strip	_find_fw_domain
.subsections_via_symbols
