	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_dp_aux_init             ## -- Begin function radeon_dp_aux_init
	.p2align	4, 0x90
_radeon_dp_aux_init:                    ## @radeon_dp_aux_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rcx), %rdi
	movl	24(%rbx), %ecx
	movl	%ecx, 24(%rax)
	movl	8(%rbx), %ecx
	movl	%ecx, 16(%rax)
	callq	_ASIC_IS_DCE5
	movq	_radeon_auxch@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movq	_radeon_dp_aux_transfer_atom@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_radeon_dp_aux_transfer_native@GOTPCREL(%rip), %rdx
LBB0_2:
	testq	%rax, %rax
	cmoveq	%rcx, %rdx
	movq	(%rdx), %rax
	movq	(%rbx), %rdi
	movq	%rax, 8(%rdi)
	addq	$8, %rdi
	callq	_drm_dp_aux_register
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rcx
	movl	$1, (%rcx)
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WARN                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_radeon_auxch,8,3               ## @radeon_auxch
	.comm	_radeon_dp_aux_transfer_native,8,3 ## @radeon_dp_aux_transfer_native
	.comm	_radeon_dp_aux_transfer_atom,8,3 ## @radeon_dp_aux_transfer_atom
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"drm_dp_aux_register() failed with error %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_dp_aux_init             ; -- Begin function radeon_dp_aux_init
	.p2align	2
_radeon_dp_aux_init:                    ; @radeon_dp_aux_init
	.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
	ldr	x8, [x0, #16]
	ldr	x0, [x8]
	ldr	w8, [x19, #24]
	ldr	x9, [x19]
	str	w8, [x9, #24]
	ldr	w8, [x19, #8]
	str	w8, [x9, #16]
	bl	_ASIC_IS_DCE5
Lloh0:
	adrp	x8, _radeon_auxch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _radeon_auxch@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
Lloh3:
	adrp	x8, _radeon_dp_aux_transfer_atom@GOTPAGE
Lloh4:
	ldr	x8, [x8, _radeon_dp_aux_transfer_atom@GOTPAGEOFF]
Lloh5:
	adrp	x9, _radeon_dp_aux_transfer_native@GOTPAGE
Lloh6:
	ldr	x9, [x9, _radeon_dp_aux_transfer_native@GOTPAGEOFF]
	ccmp	x0, #0, #4, ne
	csel	x8, x8, x9, eq
	ldr	x8, [x8]
	ldr	x0, [x19]
	str	x8, [x0, #8]!
	bl	_drm_dp_aux_register
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8]
LBB0_2:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WARN
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_radeon_auxch,8,3               ; @radeon_auxch
	.comm	_radeon_dp_aux_transfer_native,8,3 ; @radeon_dp_aux_transfer_native
	.comm	_radeon_dp_aux_transfer_atom,8,3 ; @radeon_dp_aux_transfer_atom
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"drm_dp_aux_register() failed with error %d\n"

.subsections_via_symbols
