	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_analogix_dp_clear_hotplug_interrupts ## -- Begin function analogix_dp_clear_hotplug_interrupts
	.p2align	4, 0x90
_analogix_dp_clear_hotplug_interrupts:  ## @analogix_dp_clear_hotplug_interrupts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %rbx
	movq	_HOTPLUG_CHG@GOTPCREL(%rip), %rax
	movq	_HPD_LOST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_PLUG@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_ANALOGIX_DP_COMMON_INT_STA_4@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_INT_HPD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ANALOGIX_DP_INT_STA@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HOTPLUG_CHG,4,2                ## @HOTPLUG_CHG
	.comm	_HPD_LOST,4,2                   ## @HPD_LOST
	.comm	_PLUG,4,2                       ## @PLUG
	.comm	_ANALOGIX_DP_COMMON_INT_STA_4,8,3 ## @ANALOGIX_DP_COMMON_INT_STA_4
	.comm	_INT_HPD,4,2                    ## @INT_HPD
	.comm	_ANALOGIX_DP_INT_STA,8,3        ## @ANALOGIX_DP_INT_STA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_analogix_dp_clear_hotplug_interrupts ; -- Begin function analogix_dp_clear_hotplug_interrupts
	.p2align	2
_analogix_dp_clear_hotplug_interrupts:  ; @analogix_dp_clear_hotplug_interrupts
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh0:
	adrp	x8, _HOTPLUG_CHG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOTPLUG_CHG@GOTPAGEOFF]
Lloh2:
	adrp	x9, _HPD_LOST@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HPD_LOST@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _PLUG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PLUG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _ANALOGIX_DP_COMMON_INT_STA_4@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ANALOGIX_DP_COMMON_INT_STA_4@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh12:
	adrp	x8, _INT_HPD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INT_HPD@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _ANALOGIX_DP_INT_STA@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ANALOGIX_DP_INT_STA@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HOTPLUG_CHG,4,2                ; @HOTPLUG_CHG
	.comm	_HPD_LOST,4,2                   ; @HPD_LOST
	.comm	_PLUG,4,2                       ; @PLUG
	.comm	_ANALOGIX_DP_COMMON_INT_STA_4,8,3 ; @ANALOGIX_DP_COMMON_INT_STA_4
	.comm	_INT_HPD,4,2                    ; @INT_HPD
	.comm	_ANALOGIX_DP_INT_STA,8,3        ; @ANALOGIX_DP_INT_STA
.subsections_via_symbols
