	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_dm_connector_detect
_amdgpu_dm_connector_detect:            ## @amdgpu_dm_connector_detect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_to_amdgpu_dm_connector
	movq	(%rax), %rcx
	movq	_DRM_FORCE_UNSPECIFIED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 16(%rax)
	je	LBB0_2
LBB0_3:
	movq	_DRM_FORCE_ON@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	sete	%al
	testb	%al, %al
	je	LBB0_5
LBB0_6:
	movq	_connector_status_connected@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	cmpq	$0, 8(%rax)
	setne	%al
	testb	%al, %al
	jne	LBB0_6
LBB0_5:
	movq	_connector_status_disconnected@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_FORCE_UNSPECIFIED,8,3      ## @DRM_FORCE_UNSPECIFIED
	.comm	_DRM_FORCE_ON,8,3               ## @DRM_FORCE_ON
	.comm	_connector_status_connected,4,2 ## @connector_status_connected
	.comm	_connector_status_disconnected,4,2 ## @connector_status_disconnected
	.no_dead_strip	_amdgpu_dm_connector_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_dm_connector_detect
_amdgpu_dm_connector_detect:            ; @amdgpu_dm_connector_detect
	.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
	bl	_to_amdgpu_dm_connector
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DRM_FORCE_UNSPECIFIED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_FORCE_UNSPECIFIED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x0, #16]
	cbz	w9, LBB0_3
LBB0_2:
Lloh3:
	adrp	x9, _DRM_FORCE_ON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DRM_FORCE_ON@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	b	LBB0_4
LBB0_3:
	ldr	x8, [x0, #8]
	cmp	x8, #0
	cset	w8, ne
LBB0_4:
Lloh6:
	adrp	x9, _connector_status_connected@GOTPAGE
Lloh7:
	ldr	x9, [x9, _connector_status_connected@GOTPAGEOFF]
Lloh8:
	adrp	x10, _connector_status_disconnected@GOTPAGE
Lloh9:
	ldr	x10, [x10, _connector_status_disconnected@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, ne
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_FORCE_UNSPECIFIED,8,3      ; @DRM_FORCE_UNSPECIFIED
	.comm	_DRM_FORCE_ON,8,3               ; @DRM_FORCE_ON
	.comm	_connector_status_connected,4,2 ; @connector_status_connected
	.comm	_connector_status_disconnected,4,2 ; @connector_status_disconnected
	.no_dead_strip	_amdgpu_dm_connector_detect
.subsections_via_symbols
