	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_external_tmds_setup     ## -- Begin function radeon_external_tmds_setup
	.p2align	4, 0x90
_radeon_external_tmds_setup:            ## @radeon_external_tmds_setup
	.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
	callq	_to_radeon_encoder
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	cmpl	$128, (%rbx)
	jne	LBB0_2
## %bb.3:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	movl	$8, %edx
	movl	$48, %ecx
	callq	_radeon_i2c_put_byte
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	movl	$9, %edx
	xorl	%ecx, %ecx
	callq	_radeon_i2c_put_byte
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	movl	$10, %edx
	movl	$144, %ecx
	callq	_radeon_i2c_put_byte
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	movl	$12, %edx
	movl	$137, %ecx
	callq	_radeon_i2c_put_byte
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	movl	$8, %edx
	movl	$59, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_radeon_i2c_put_byte            ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_external_tmds_setup     ; -- Begin function radeon_external_tmds_setup
	.p2align	2
_radeon_external_tmds_setup:            ; @radeon_external_tmds_setup
	.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
	bl	_to_radeon_encoder
	ldr	x19, [x0]
	cbz	x19, LBB0_3
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.2:
	ldp	w1, w0, [x19, #4]
	mov	w2, #8
	mov	w3, #48
	bl	_radeon_i2c_put_byte
	ldp	w1, w0, [x19, #4]
	mov	w2, #9
	mov	w3, #0
	bl	_radeon_i2c_put_byte
	ldp	w1, w0, [x19, #4]
	mov	w2, #10
	mov	w3, #144
	bl	_radeon_i2c_put_byte
	ldp	w1, w0, [x19, #4]
	mov	w2, #12
	mov	w3, #137
	bl	_radeon_i2c_put_byte
	ldp	w1, w0, [x19, #4]
	mov	w2, #8
	mov	w3, #59
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_radeon_i2c_put_byte
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
