	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shmob_drm_encoder_create       ## -- Begin function shmob_drm_encoder_create
	.p2align	4, 0x90
_shmob_drm_encoder_create:              ## @shmob_drm_encoder_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	8(%rdi), %rbx
	movq	_DRM_MODE_DPMS_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	movl	$1, 8(%rdi)
	movl	(%rdi), %edi
	movq	_DRM_MODE_ENCODER_LVDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_encoder_funcs@GOTPCREL(%rip), %rdx
	xorl	%r14d, %r14d
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	callq	_drm_encoder_init
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_encoder_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_drm_encoder_helper_add
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_DPMS_OFF,4,2          ## @DRM_MODE_DPMS_OFF
	.comm	_encoder_funcs,4,2              ## @encoder_funcs
	.comm	_DRM_MODE_ENCODER_LVDS,4,2      ## @DRM_MODE_ENCODER_LVDS
	.comm	_encoder_helper_funcs,4,2       ## @encoder_helper_funcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shmob_drm_encoder_create       ; -- Begin function shmob_drm_encoder_create
	.p2align	2
_shmob_drm_encoder_create:              ; @shmob_drm_encoder_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w9, #1
Lloh0:
	adrp	x8, _DRM_MODE_DPMS_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_DPMS_OFF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	ldr	w0, [x0]
	str	w9, [x19, #8]!
Lloh3:
	adrp	x9, _DRM_MODE_ENCODER_LVDS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DRM_MODE_ENCODER_LVDS@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
Lloh6:
	adrp	x2, _encoder_funcs@GOTPAGE
Lloh7:
	ldr	x2, [x2, _encoder_funcs@GOTPAGEOFF]
	mov	x1, x19
	mov	x4, #0
	bl	_drm_encoder_init
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh8:
	adrp	x1, _encoder_helper_funcs@GOTPAGE
Lloh9:
	ldr	x1, [x1, _encoder_helper_funcs@GOTPAGEOFF]
	mov	x0, x19
	bl	_drm_encoder_helper_add
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_DPMS_OFF,4,2          ; @DRM_MODE_DPMS_OFF
	.comm	_encoder_funcs,4,2              ; @encoder_funcs
	.comm	_DRM_MODE_ENCODER_LVDS,4,2      ; @DRM_MODE_ENCODER_LVDS
	.comm	_encoder_helper_funcs,4,2       ; @encoder_helper_funcs
.subsections_via_symbols
