	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dw_hdmi_phy_i2c_write          ## -- Begin function dw_hdmi_phy_i2c_write
	.p2align	4, 0x90
_dw_hdmi_phy_i2c_write:                 ## @dw_hdmi_phy_i2c_write
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_HDMI_IH_I2CMPHY_STAT0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$255, %esi
	callq	_hdmi_writeb
	movq	_HDMI_PHY_I2CM_ADDRESS_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_hdmi_writeb
	movl	%r14d, %esi
	shrl	$8, %esi
	movq	_HDMI_PHY_I2CM_DATAO_1_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_hdmi_writeb
	movq	_HDMI_PHY_I2CM_DATAO_0_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	%r14b, %esi
	movq	%rbx, %rdi
	callq	_hdmi_writeb
	movq	_HDMI_PHY_I2CM_OPERATION_ADDR_WRITE@GOTPCREL(%rip), %rax
	movzbl	(%rax), %esi
	movq	_HDMI_PHY_I2CM_OPERATION_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_hdmi_writeb
	movq	%rbx, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_phy_wait_i2c_done         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_IH_I2CMPHY_STAT0,4,2      ## @HDMI_IH_I2CMPHY_STAT0
	.comm	_HDMI_PHY_I2CM_ADDRESS_ADDR,4,2 ## @HDMI_PHY_I2CM_ADDRESS_ADDR
	.comm	_HDMI_PHY_I2CM_DATAO_1_ADDR,4,2 ## @HDMI_PHY_I2CM_DATAO_1_ADDR
	.comm	_HDMI_PHY_I2CM_DATAO_0_ADDR,4,2 ## @HDMI_PHY_I2CM_DATAO_0_ADDR
	.comm	_HDMI_PHY_I2CM_OPERATION_ADDR_WRITE,1,0 ## @HDMI_PHY_I2CM_OPERATION_ADDR_WRITE
	.comm	_HDMI_PHY_I2CM_OPERATION_ADDR,4,2 ## @HDMI_PHY_I2CM_OPERATION_ADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dw_hdmi_phy_i2c_write          ; -- Begin function dw_hdmi_phy_i2c_write
	.p2align	2
_dw_hdmi_phy_i2c_write:                 ; @dw_hdmi_phy_i2c_write
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _HDMI_IH_I2CMPHY_STAT0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_IH_I2CMPHY_STAT0@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #255
	bl	_hdmi_writeb
Lloh3:
	adrp	x8, _HDMI_PHY_I2CM_ADDRESS_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_PHY_I2CM_ADDRESS_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_hdmi_writeb
	lsr	w1, w20, #8
Lloh6:
	adrp	x8, _HDMI_PHY_I2CM_DATAO_1_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMI_PHY_I2CM_DATAO_1_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_hdmi_writeb
Lloh9:
	adrp	x8, _HDMI_PHY_I2CM_DATAO_0_ADDR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HDMI_PHY_I2CM_DATAO_0_ADDR@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	and	w1, w20, #0xff
	mov	x0, x21
	bl	_hdmi_writeb
Lloh12:
	adrp	x8, _HDMI_PHY_I2CM_OPERATION_ADDR_WRITE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDMI_PHY_I2CM_OPERATION_ADDR_WRITE@GOTPAGEOFF]
	ldrb	w1, [x8]
Lloh14:
	adrp	x8, _HDMI_PHY_I2CM_OPERATION_ADDR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HDMI_PHY_I2CM_OPERATION_ADDR@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_hdmi_writeb
	mov	x0, x21
	mov	w1, #1000
	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
	b	_hdmi_phy_wait_i2c_done
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_IH_I2CMPHY_STAT0,4,2      ; @HDMI_IH_I2CMPHY_STAT0
	.comm	_HDMI_PHY_I2CM_ADDRESS_ADDR,4,2 ; @HDMI_PHY_I2CM_ADDRESS_ADDR
	.comm	_HDMI_PHY_I2CM_DATAO_1_ADDR,4,2 ; @HDMI_PHY_I2CM_DATAO_1_ADDR
	.comm	_HDMI_PHY_I2CM_DATAO_0_ADDR,4,2 ; @HDMI_PHY_I2CM_DATAO_0_ADDR
	.comm	_HDMI_PHY_I2CM_OPERATION_ADDR_WRITE,1,0 ; @HDMI_PHY_I2CM_OPERATION_ADDR_WRITE
	.comm	_HDMI_PHY_I2CM_OPERATION_ADDR,4,2 ; @HDMI_PHY_I2CM_OPERATION_ADDR
.subsections_via_symbols
