	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dwb2_is_enabled                ## -- Begin function dwb2_is_enabled
	.p2align	4, 0x90
_dwb2_is_enabled:                       ## @dwb2_is_enabled
	.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
	callq	_TO_DCN20_DWBC
	movl	$0, -8(%rbp)
	movl	$0, -4(%rbp)
	movq	_WB_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-8(%rbp), %rdx
	movl	%edi, %esi
	callq	_REG_GET
	movq	_CNV_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CNV_FRAME_CAPTURE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_REG_GET
	cmpl	$0, -8(%rbp)
	setne	%al
	cmpl	$0, -4(%rbp)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WB_ENABLE,4,2                  ## @WB_ENABLE
	.comm	_CNV_MODE,4,2                   ## @CNV_MODE
	.comm	_CNV_FRAME_CAPTURE_EN,4,2       ## @CNV_FRAME_CAPTURE_EN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dwb2_is_enabled                ; -- Begin function dwb2_is_enabled
	.p2align	2
_dwb2_is_enabled:                       ; @dwb2_is_enabled
	.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
	bl	_TO_DCN20_DWBC
	stur	wzr, [x29, #-4]
	str	wzr, [sp, #8]
Lloh0:
	adrp	x8, _WB_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WB_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	sub	x2, x29, #4
	mov	x1, x0
	bl	_REG_GET
Lloh3:
	adrp	x8, _CNV_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CNV_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _CNV_FRAME_CAPTURE_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CNV_FRAME_CAPTURE_EN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_REG_GET
	ldur	w8, [x29, #-4]
	cmp	w8, #0
	ldr	w8, [sp, #8]
	ccmp	w8, #0, #4, ne
	cset	w0, ne
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_WB_ENABLE,4,2                  ; @WB_ENABLE
	.comm	_CNV_MODE,4,2                   ; @CNV_MODE
	.comm	_CNV_FRAME_CAPTURE_EN,4,2       ; @CNV_FRAME_CAPTURE_EN
.subsections_via_symbols
