	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_dp_aux_native_read
_radeon_dp_aux_native_read:             ## @radeon_dp_aux_native_read
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r12
	movl	%esi, -64(%rbp)
	sarl	$8, %esi
	movl	%esi, -60(%rbp)
	movq	_AUX_NATIVE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$4, %eax
	movl	%eax, -56(%rbp)
	leal	-1(%rbx), %eax
	orl	$64, %eax
	movl	%eax, -52(%rbp)
	movl	(%r12), %edi
	leaq	-68(%rbp), %r13
	movq	%r13, (%rsp)
	leaq	-64(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	callq	_radeon_process_aux_ch
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jne	LBB0_1
LBB0_5:
	movl	(%r12), %edi
	movq	%r13, (%rsp)
	leaq	-64(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	callq	_radeon_process_aux_ch
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jne	LBB0_6
LBB0_12:
	movl	(%r12), %edi
	movq	%r13, (%rsp)
	leaq	-64(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	callq	_radeon_process_aux_ch
	movq	_EBUSY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ecx
	addl	%eax, %ecx
	jne	LBB0_13
LBB0_17:
	movl	(%r12), %edi
	movq	%r13, (%rsp)
	movq	%rdx, %r12
	leaq	-64(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	callq	_radeon_process_aux_ch
	movl	(%r12), %ecx
	addl	%eax, %ecx
	je	LBB0_22
## %bb.18:
	testl	%eax, %eax
	js	LBB0_24
## %bb.19:
	movq	_AUX_NATIVE_REPLY_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	-68(%rbp), %ecx
	movq	_AUX_NATIVE_REPLY_ACK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_24
## %bb.20:
	movq	_AUX_NATIVE_REPLY_DEFER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_9
## %bb.21:
	movl	$400, %edi                      ## imm = 0x190
	callq	_udelay
	jmp	LBB0_22
LBB0_1:
	testl	%eax, %eax
	js	LBB0_24
## %bb.2:
	movq	_AUX_NATIVE_REPLY_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	-68(%rbp), %ecx
	movq	_AUX_NATIVE_REPLY_ACK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_24
## %bb.3:
	movq	_AUX_NATIVE_REPLY_DEFER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_9
## %bb.4:
	movl	$400, %edi                      ## imm = 0x190
	callq	_udelay
	jmp	LBB0_5
LBB0_6:
	testl	%eax, %eax
	js	LBB0_24
## %bb.7:
	movq	_AUX_NATIVE_REPLY_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	-68(%rbp), %ecx
	movq	_AUX_NATIVE_REPLY_ACK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_24
## %bb.8:
	movq	_AUX_NATIVE_REPLY_DEFER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_9
## %bb.11:
	movl	$400, %edi                      ## imm = 0x190
	callq	_udelay
	jmp	LBB0_12
LBB0_13:
	testl	%eax, %eax
	js	LBB0_24
## %bb.14:
	movq	_AUX_NATIVE_REPLY_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	-68(%rbp), %ecx
	movq	_AUX_NATIVE_REPLY_ACK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_24
## %bb.15:
	movq	_AUX_NATIVE_REPLY_DEFER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_9
## %bb.16:
	movl	$400, %edi                      ## imm = 0x190
	callq	_udelay
	movq	_EBUSY@GOTPCREL(%rip), %rdx
	jmp	LBB0_17
LBB0_9:
	testl	%eax, %eax
	je	LBB0_10
LBB0_22:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_10:
	movq	_EPROTO@GOTPCREL(%rip), %rcx
LBB0_23:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_26
## %bb.25:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AUX_NATIVE_READ,4,2            ## @AUX_NATIVE_READ
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_AUX_NATIVE_REPLY_MASK,4,2      ## @AUX_NATIVE_REPLY_MASK
	.comm	_AUX_NATIVE_REPLY_ACK,4,2       ## @AUX_NATIVE_REPLY_ACK
	.comm	_AUX_NATIVE_REPLY_DEFER,4,2     ## @AUX_NATIVE_REPLY_DEFER
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_radeon_dp_aux_native_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_dp_aux_native_read
_radeon_dp_aux_native_read:             ; @radeon_dp_aux_native_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x22, [x0]
	asr	w8, w1, #8
	stp	w1, w8, [sp, #8]
Lloh3:
	adrp	x8, _AUX_NATIVE_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AUX_NATIVE_READ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w8, w8, #4
	sub	w9, w3, #1
	orr	w9, w9, #0x40
	stp	w8, w9, [sp, #16]
	ldr	w0, [x22]
	add	x1, sp, #8
	add	x6, sp, #4
	mov	w2, #4
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_radeon_process_aux_ch
Lloh6:
	adrp	x23, _EBUSY@GOTPAGE
Lloh7:
	ldr	x23, [x23, _EBUSY@GOTPAGEOFF]
	ldr	w8, [x23]
	cmn	w0, w8
	b.ne	LBB0_8
LBB0_1:
	ldr	w0, [x22]
	add	x1, sp, #8
	add	x6, sp, #4
	mov	w2, #4
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_radeon_process_aux_ch
	ldr	w8, [x23]
	cmn	w0, w8
	b.ne	LBB0_12
LBB0_2:
	ldr	w0, [x22]
	add	x1, sp, #8
	add	x6, sp, #4
	mov	w2, #4
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_radeon_process_aux_ch
	ldr	w8, [x23]
	cmn	w0, w8
	b.ne	LBB0_16
LBB0_3:
	ldr	w0, [x22]
	add	x1, sp, #8
	add	x6, sp, #4
	mov	w2, #4
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_radeon_process_aux_ch
	ldr	w8, [x23]
	cmn	w0, w8
	b.eq	LBB0_21
; %bb.4:
	tbnz	w0, #31, LBB0_24
; %bb.5:
	ldr	w8, [sp, #4]
Lloh8:
	adrp	x9, _AUX_NATIVE_REPLY_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh11:
	adrp	x9, _AUX_NATIVE_REPLY_ACK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_ACK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_24
; %bb.6:
Lloh14:
	adrp	x9, _AUX_NATIVE_REPLY_DEFER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_DEFER@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.7:
	mov	w0, #400
	bl	_udelay
	b	LBB0_21
LBB0_8:
	tbnz	w0, #31, LBB0_24
; %bb.9:
	ldr	w8, [sp, #4]
Lloh17:
	adrp	x9, _AUX_NATIVE_REPLY_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh20:
	adrp	x9, _AUX_NATIVE_REPLY_ACK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_ACK@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_24
; %bb.10:
Lloh23:
	adrp	x9, _AUX_NATIVE_REPLY_DEFER@GOTPAGE
Lloh24:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_DEFER@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.11:
	mov	w0, #400
	bl	_udelay
	b	LBB0_1
LBB0_12:
	tbnz	w0, #31, LBB0_24
; %bb.13:
	ldr	w8, [sp, #4]
Lloh26:
	adrp	x9, _AUX_NATIVE_REPLY_MASK@GOTPAGE
Lloh27:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_MASK@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh29:
	adrp	x9, _AUX_NATIVE_REPLY_ACK@GOTPAGE
Lloh30:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_ACK@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_24
; %bb.14:
Lloh32:
	adrp	x9, _AUX_NATIVE_REPLY_DEFER@GOTPAGE
Lloh33:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_DEFER@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.15:
	mov	w0, #400
	bl	_udelay
	b	LBB0_2
LBB0_16:
	tbnz	w0, #31, LBB0_24
; %bb.17:
	ldr	w8, [sp, #4]
Lloh35:
	adrp	x9, _AUX_NATIVE_REPLY_MASK@GOTPAGE
Lloh36:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_MASK@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh38:
	adrp	x9, _AUX_NATIVE_REPLY_ACK@GOTPAGE
Lloh39:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_ACK@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_24
; %bb.18:
Lloh41:
	adrp	x9, _AUX_NATIVE_REPLY_DEFER@GOTPAGE
Lloh42:
	ldr	x9, [x9, _AUX_NATIVE_REPLY_DEFER@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.19:
	mov	w0, #400
	bl	_udelay
	b	LBB0_3
LBB0_20:
	cbz	w0, LBB0_22
LBB0_21:
Lloh44:
	adrp	x8, _EIO@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh46:
	adrp	x8, _EPROTO@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
LBB0_23:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_24:
	ldr	x8, [sp, #24]
Lloh48:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh49:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_AUX_NATIVE_READ,4,2            ; @AUX_NATIVE_READ
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_AUX_NATIVE_REPLY_MASK,4,2      ; @AUX_NATIVE_REPLY_MASK
	.comm	_AUX_NATIVE_REPLY_ACK,4,2       ; @AUX_NATIVE_REPLY_ACK
	.comm	_AUX_NATIVE_REPLY_DEFER,4,2     ; @AUX_NATIVE_REPLY_DEFER
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_radeon_dp_aux_native_read
.subsections_via_symbols
