	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_engine_available
_is_engine_available:                   ## @is_engine_available
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_HW_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DC_I2C_DDC1_HW_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_REG_GET
	movl	-4(%rbp), %ecx
	movq	_DC_I2C_STATUS__DC_I2C_STATUS_USED_BY_HW@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_2
## %bb.1:
	movq	_DC_I2C_ARBITRATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DC_I2C_REG_RW_CNTL_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rdx
	callq	_REG_GET
	movl	-8(%rbp), %ecx
	movq	_DC_I2C_REG_RW_CNTL_STATUS_DMCU_ONLY@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	setne	%al
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_STATUS,4,2                  ## @HW_STATUS
	.comm	_DC_I2C_DDC1_HW_STATUS,4,2      ## @DC_I2C_DDC1_HW_STATUS
	.comm	_DC_I2C_STATUS__DC_I2C_STATUS_USED_BY_HW,4,2 ## @DC_I2C_STATUS__DC_I2C_STATUS_USED_BY_HW
	.comm	_DC_I2C_ARBITRATION,4,2         ## @DC_I2C_ARBITRATION
	.comm	_DC_I2C_REG_RW_CNTL_STATUS,4,2  ## @DC_I2C_REG_RW_CNTL_STATUS
	.comm	_DC_I2C_REG_RW_CNTL_STATUS_DMCU_ONLY,4,2 ## @DC_I2C_REG_RW_CNTL_STATUS_DMCU_ONLY
	.no_dead_strip	_is_engine_available
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_engine_available
_is_engine_available:                   ; @is_engine_available
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _HW_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HW_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _DC_I2C_DDC1_HW_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DC_I2C_DDC1_HW_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_REG_GET
	ldr	w8, [sp, #8]
Lloh6:
	adrp	x9, _DC_I2C_STATUS__DC_I2C_STATUS_USED_BY_HW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DC_I2C_STATUS__DC_I2C_STATUS_USED_BY_HW@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _DC_I2C_ARBITRATION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DC_I2C_ARBITRATION@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _DC_I2C_REG_RW_CNTL_STATUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DC_I2C_REG_RW_CNTL_STATUS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_REG_GET
	ldur	w8, [x29, #-4]
Lloh15:
	adrp	x9, _DC_I2C_REG_RW_CNTL_STATUS_DMCU_ONLY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DC_I2C_REG_RW_CNTL_STATUS_DMCU_ONLY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_STATUS,4,2                  ; @HW_STATUS
	.comm	_DC_I2C_DDC1_HW_STATUS,4,2      ; @DC_I2C_DDC1_HW_STATUS
	.comm	_DC_I2C_STATUS__DC_I2C_STATUS_USED_BY_HW,4,2 ; @DC_I2C_STATUS__DC_I2C_STATUS_USED_BY_HW
	.comm	_DC_I2C_ARBITRATION,4,2         ; @DC_I2C_ARBITRATION
	.comm	_DC_I2C_REG_RW_CNTL_STATUS,4,2  ; @DC_I2C_REG_RW_CNTL_STATUS
	.comm	_DC_I2C_REG_RW_CNTL_STATUS_DMCU_ONLY,4,2 ; @DC_I2C_REG_RW_CNTL_STATUS_DMCU_ONLY
	.no_dead_strip	_is_engine_available
.subsections_via_symbols
