	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda998x_connector_init
_tda998x_connector_init:                ## @tda998x_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	4(%rdi), %r14
	movl	$1, 4(%rdi)
	movq	16(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_DRM_CONNECTOR_POLL_HPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_1:
	movq	_DRM_CONNECTOR_POLL_CONNECT@GOTPCREL(%rip), %rcx
	movq	_DRM_CONNECTOR_POLL_DISCONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
LBB0_3:
	movl	%eax, 8(%rbx)
	movq	_tda998x_connector_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_connector_helper_add
	movq	_DRM_MODE_CONNECTOR_HDMIA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_tda998x_connector_funcs@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_drm_connector_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_drm_connector_attach_encoder
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ## @DRM_CONNECTOR_POLL_HPD
	.comm	_DRM_CONNECTOR_POLL_CONNECT,4,2 ## @DRM_CONNECTOR_POLL_CONNECT
	.comm	_DRM_CONNECTOR_POLL_DISCONNECT,4,2 ## @DRM_CONNECTOR_POLL_DISCONNECT
	.comm	_tda998x_connector_helper_funcs,4,2 ## @tda998x_connector_helper_funcs
	.comm	_tda998x_connector_funcs,4,2    ## @tda998x_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_HDMIA,4,2   ## @DRM_MODE_CONNECTOR_HDMIA
	.no_dead_strip	_tda998x_connector_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda998x_connector_init
_tda998x_connector_init:                ; @tda998x_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	x21, x1
	mov	x19, x0
	mov	w8, #1
	mov	x20, x0
	str	w8, [x20, #4]!
	ldur	x8, [x20, #12]
Lloh0:
	adrp	x9, _DRM_CONNECTOR_POLL_CONNECT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_CONNECTOR_POLL_CONNECT@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _DRM_CONNECTOR_POLL_DISCONNECT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DRM_CONNECTOR_POLL_DISCONNECT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _DRM_CONNECTOR_POLL_HPD@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DRM_CONNECTOR_POLL_HPD@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	x8, #0
	csel	w8, w9, w10, eq
	str	w8, [x20, #4]
Lloh9:
	adrp	x1, _tda998x_connector_helper_funcs@GOTPAGE
Lloh10:
	ldr	x1, [x1, _tda998x_connector_helper_funcs@GOTPAGEOFF]
	mov	x0, x20
	bl	_drm_connector_helper_add
Lloh11:
	adrp	x8, _DRM_MODE_CONNECTOR_HDMIA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DRM_MODE_CONNECTOR_HDMIA@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	adrp	x2, _tda998x_connector_funcs@GOTPAGE
Lloh15:
	ldr	x2, [x2, _tda998x_connector_funcs@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x20
	bl	_drm_connector_init
	mov	x21, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x19]
	mov	x0, x20
	bl	_drm_connector_attach_encoder
LBB0_2:
	mov	x0, x21
	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 AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ; @DRM_CONNECTOR_POLL_HPD
	.comm	_DRM_CONNECTOR_POLL_CONNECT,4,2 ; @DRM_CONNECTOR_POLL_CONNECT
	.comm	_DRM_CONNECTOR_POLL_DISCONNECT,4,2 ; @DRM_CONNECTOR_POLL_DISCONNECT
	.comm	_tda998x_connector_helper_funcs,4,2 ; @tda998x_connector_helper_funcs
	.comm	_tda998x_connector_funcs,4,2    ; @tda998x_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_HDMIA,4,2   ; @DRM_MODE_CONNECTOR_HDMIA
	.no_dead_strip	_tda998x_connector_init
.subsections_via_symbols
