	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exynos_drm_check_fimc_device   ## -- Begin function exynos_drm_check_fimc_device
	.p2align	4, 0x90
_exynos_drm_check_fimc_device:          ## @exynos_drm_check_fimc_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_alias_get_id
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_BIT
	movl	%eax, %ecx
	movq	_fimc_mask@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fimc"

	.comm	_fimc_mask,4,2                  ## @fimc_mask
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exynos_drm_check_fimc_device   ; -- Begin function exynos_drm_check_fimc_device
	.p2align	2
_exynos_drm_check_fimc_device:          ; @exynos_drm_check_fimc_device
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_alias_get_id
	tbnz	w0, #31, LBB0_3
; %bb.1:
	bl	_BIT
Lloh2:
	adrp	x8, _fimc_mask@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fimc_mask@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fimc"

	.comm	_fimc_mask,4,2                  ; @fimc_mask
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
