	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii9234_hpd_change
_sii9234_hpd_change:                    ## @sii9234_hpd_change
	.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
	movq	%rdi, %rbx
	movq	_CBUS_MSC_REQ_ABORT_REASON_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cbus_readb
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_sii9234_clear_error
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ST_FAILURE@GOTPCREL(%rip), %rbx
	jmp	LBB0_3
LBB0_2:
	movq	_SET_HPD_DOWNSTREAM@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	andl	(%rax), %r14d
	setne	%sil
	movq	%rbx, %rdi
	callq	_sii9234_tmds_control
LBB0_3:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CBUS_MSC_REQ_ABORT_REASON_REG,4,2 ## @CBUS_MSC_REQ_ABORT_REASON_REG
	.comm	_ST_FAILURE,4,2                 ## @ST_FAILURE
	.comm	_SET_HPD_DOWNSTREAM,4,2         ## @SET_HPD_DOWNSTREAM
	.no_dead_strip	_sii9234_hpd_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii9234_hpd_change
_sii9234_hpd_change:                    ; @sii9234_hpd_change
	.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	x19, x0
Lloh0:
	adrp	x8, _CBUS_MSC_REQ_ABORT_REASON_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CBUS_MSC_REQ_ABORT_REASON_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_cbus_readb
	mov	x20, x0
	mov	x0, x19
	bl	_sii9234_clear_error
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x19, _ST_FAILURE@GOTPAGE
Lloh4:
	ldr	x19, [x19, _ST_FAILURE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _SET_HPD_DOWNSTREAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SET_HPD_DOWNSTREAM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w1, ne
	mov	x0, x19
	bl	_sii9234_tmds_control
LBB0_3:
	ldr	w0, [x19]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CBUS_MSC_REQ_ABORT_REASON_REG,4,2 ; @CBUS_MSC_REQ_ABORT_REASON_REG
	.comm	_ST_FAILURE,4,2                 ; @ST_FAILURE
	.comm	_SET_HPD_DOWNSTREAM,4,2         ; @SET_HPD_DOWNSTREAM
	.no_dead_strip	_sii9234_hpd_change
.subsections_via_symbols
