	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_sdvo_analog_init
_intel_sdvo_analog_init:                ## @intel_sdvo_analog_init
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_DRM_CONNECTOR_POLL_CONNECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_DRM_MODE_ENCODER_DAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r14)
	movq	_DRM_MODE_CONNECTOR_VGA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	cmpl	$1, %ebx
	jne	LBB0_7
## %bb.5:
	movq	_SDVO_OUTPUT_RGB1@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_3:
	movq	_SDVO_OUTPUT_RGB0@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %edx
	orl	%edx, (%r14)
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_7:
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_intel_sdvo_connector_init
	movl	$1, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_DRM_CONNECTOR_POLL_CONNECT,4,2 ## @DRM_CONNECTOR_POLL_CONNECT
	.comm	_DRM_MODE_ENCODER_DAC,4,2       ## @DRM_MODE_ENCODER_DAC
	.comm	_DRM_MODE_CONNECTOR_VGA,4,2     ## @DRM_MODE_CONNECTOR_VGA
	.comm	_SDVO_OUTPUT_RGB0,4,2           ## @SDVO_OUTPUT_RGB0
	.comm	_SDVO_OUTPUT_RGB1,4,2           ## @SDVO_OUTPUT_RGB1
	.no_dead_strip	_intel_sdvo_analog_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_sdvo_analog_init
_intel_sdvo_analog_init:                ; @intel_sdvo_analog_init
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _DRM_CONNECTOR_POLL_CONNECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRM_CONNECTOR_POLL_CONNECT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DRM_MODE_ENCODER_DAC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DRM_MODE_ENCODER_DAC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x19, #4]
Lloh9:
	adrp	x9, _DRM_MODE_CONNECTOR_VGA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DRM_MODE_CONNECTOR_VGA@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #4]
	cbz	w20, LBB0_4
; %bb.2:
	cmp	w20, #1
	b.ne	LBB0_6
; %bb.3:
Lloh12:
	adrp	x8, _SDVO_OUTPUT_RGB1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SDVO_OUTPUT_RGB1@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _SDVO_OUTPUT_RGB0@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SDVO_OUTPUT_RGB0@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x8]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x19]
	ldr	w8, [x8]
	str	w8, [x0]
LBB0_6:
	mov	x1, x19
	bl	_intel_sdvo_connector_init
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_DRM_CONNECTOR_POLL_CONNECT,4,2 ; @DRM_CONNECTOR_POLL_CONNECT
	.comm	_DRM_MODE_ENCODER_DAC,4,2       ; @DRM_MODE_ENCODER_DAC
	.comm	_DRM_MODE_CONNECTOR_VGA,4,2     ; @DRM_MODE_CONNECTOR_VGA
	.comm	_SDVO_OUTPUT_RGB0,4,2           ; @SDVO_OUTPUT_RGB0
	.comm	_SDVO_OUTPUT_RGB1,4,2           ; @SDVO_OUTPUT_RGB1
	.no_dead_strip	_intel_sdvo_analog_init
.subsections_via_symbols
