	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap_connector_init            ## -- Begin function omap_connector_init
	.p2align	4, 0x90
_omap_connector_init:                   ## @omap_connector_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DBG
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_omapdss_device_get
	movq	%rax, 24(%r12)
	movq	%r12, %r14
	addq	$8, %r14
	movl	$1, 8(%r12)
	movq	$0, 16(%r12)
	movq	%rbx, %rdi
	callq	_omap_connector_get_type
	movq	_omap_connector_funcs@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %ecx
	callq	_drm_connector_init
	movq	_omap_connector_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_connector_helper_add
	movq	_OMAP_DSS_DEVICE_OP_HPD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_omap_connector_find_device
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rdi
	callq	_omapdss_device_get
	movq	%rax, (%r12)
	movq	_DRM_CONNECTOR_POLL_HPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_4:
	movq	_OMAP_DSS_DEVICE_OP_DETECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_omap_connector_find_device
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_DRM_CONNECTOR_POLL_CONNECT@GOTPCREL(%rip), %rcx
	movq	_DRM_CONNECTOR_POLL_DISCONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
LBB0_6:
	movl	%eax, 12(%r12)
LBB0_7:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_omap_connector_funcs,4,2       ## @omap_connector_funcs
	.comm	_omap_connector_helper_funcs,4,2 ## @omap_connector_helper_funcs
	.comm	_OMAP_DSS_DEVICE_OP_HPD,4,2     ## @OMAP_DSS_DEVICE_OP_HPD
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ## @DRM_CONNECTOR_POLL_HPD
	.comm	_OMAP_DSS_DEVICE_OP_DETECT,4,2  ## @OMAP_DSS_DEVICE_OP_DETECT
	.comm	_DRM_CONNECTOR_POLL_CONNECT,4,2 ## @DRM_CONNECTOR_POLL_CONNECT
	.comm	_DRM_CONNECTOR_POLL_DISCONNECT,4,2 ## @DRM_CONNECTOR_POLL_DISCONNECT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap_connector_init            ; -- Begin function omap_connector_init
	.p2align	2
_omap_connector_init:                   ; @omap_connector_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x1
	mov	x21, x0
	ldr	w1, [x1]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x22
	bl	_omapdss_device_get
	mov	w8, #1
	mov	x20, x19
	str	w8, [x20, #8]!
	stp	xzr, x0, [x20, #8]
	mov	x0, x22
	bl	_omap_connector_get_type
	mov	x3, x0
Lloh5:
	adrp	x2, _omap_connector_funcs@GOTPAGE
Lloh6:
	ldr	x2, [x2, _omap_connector_funcs@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x20
	bl	_drm_connector_init
Lloh7:
	adrp	x1, _omap_connector_helper_funcs@GOTPAGE
Lloh8:
	ldr	x1, [x1, _omap_connector_helper_funcs@GOTPAGEOFF]
	mov	x0, x20
	bl	_drm_connector_helper_add
Lloh9:
	adrp	x8, _OMAP_DSS_DEVICE_OP_HPD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OMAP_DSS_DEVICE_OP_HPD@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_omap_connector_find_device
	cbz	x0, LBB0_4
; %bb.2:
	bl	_omapdss_device_get
	str	x0, [x19]
Lloh12:
	adrp	x8, _DRM_CONNECTOR_POLL_HPD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DRM_CONNECTOR_POLL_HPD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	b	LBB0_6
LBB0_3:
	mov	x20, #0
	b	LBB0_7
LBB0_4:
Lloh15:
	adrp	x8, _OMAP_DSS_DEVICE_OP_DETECT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OMAP_DSS_DEVICE_OP_DETECT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_omap_connector_find_device
	cbz	x0, LBB0_7
; %bb.5:
Lloh18:
	adrp	x8, _DRM_CONNECTOR_POLL_CONNECT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DRM_CONNECTOR_POLL_CONNECT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _DRM_CONNECTOR_POLL_DISCONNECT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _DRM_CONNECTOR_POLL_DISCONNECT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_6:
	str	w8, [x19, #12]
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_omap_connector_funcs,4,2       ; @omap_connector_funcs
	.comm	_omap_connector_helper_funcs,4,2 ; @omap_connector_helper_funcs
	.comm	_OMAP_DSS_DEVICE_OP_HPD,4,2     ; @OMAP_DSS_DEVICE_OP_HPD
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ; @DRM_CONNECTOR_POLL_HPD
	.comm	_OMAP_DSS_DEVICE_OP_DETECT,4,2  ; @OMAP_DSS_DEVICE_OP_DETECT
	.comm	_DRM_CONNECTOR_POLL_CONNECT,4,2 ; @DRM_CONNECTOR_POLL_CONNECT
	.comm	_DRM_CONNECTOR_POLL_DISCONNECT,4,2 ; @DRM_CONNECTOR_POLL_DISCONNECT
.subsections_via_symbols
