	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_aux_transfer_with_retries  ## -- Begin function dce_aux_transfer_with_retries
	.p2align	4, 0x90
_dce_aux_transfer_with_retries:         ## @dce_aux_transfer_with_retries
	.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
	movq	%rsi, %rbx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	-76(%rbp), %rax
	movq	%rax, 8(%rbx)
LBB0_2:
	movq	_AUX_MAX_RETRIES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_19
## %bb.3:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	movq	_AUX_MAX_TIMEOUT_RETRIES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jge	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
	movq	_AUX_MAX_RETRIES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_19
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	leaq	-52(%rbp), %rdx
	callq	_dce_aux_transfer_raw
	movl	-52(%rbp), %ecx
	cmpl	$138, %ecx
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$136, %ecx
	je	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$135, %ecx
	jne	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rcx
	movl	(%rcx), %ecx
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	xorl	%r13d, %r13d
	movl	$0, %r14d
	movq	_AUX_MAX_DEFER_RETRIES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jl	LBB0_18
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r14d
	movl	$400, %edi                      ## imm = 0x190
	movq	_AUX_MAX_INVALID_REPLY_RETRIES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	callq	_udelay
	jmp	LBB0_18
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	xorl	%r12d, %r12d
	movl	$0, %r13d
	movl	$0, %r14d
	movq	_AUX_MAX_I2C_DEFER_RETRIES@GOTPCREL(%rip), %rax
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %ecx
	jl	LBB0_18
	jmp	LBB0_19
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %ecx
	cmpl	$0, 16(%rbx)
	jne	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%eax, (%rbx)
	je	LBB0_21
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movq	_AUX_MAX_RETRIES@GOTPCREL(%rip), %rax
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %ecx
	jge	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r13d, %r13d
	movl	$300, %edi                      ## imm = 0x12C
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_19:
	xorl	%ecx, %ecx
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_21
## %bb.20:
	movq	$0, 8(%rbx)
LBB0_21:
	movl	%ecx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_13
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_AUX_MAX_RETRIES,4,2            ## @AUX_MAX_RETRIES
	.comm	_AUX_MAX_DEFER_RETRIES,4,2      ## @AUX_MAX_DEFER_RETRIES
	.comm	_AUX_MAX_I2C_DEFER_RETRIES,4,2  ## @AUX_MAX_I2C_DEFER_RETRIES
	.comm	_AUX_MAX_INVALID_REPLY_RETRIES,4,2 ## @AUX_MAX_INVALID_REPLY_RETRIES
	.comm	_AUX_MAX_TIMEOUT_RETRIES,4,2    ## @AUX_MAX_TIMEOUT_RETRIES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_aux_transfer_with_retries  ; -- Begin function dce_aux_transfer_with_retries
	.p2align	2
_dce_aux_transfer_with_retries:         ; @dce_aux_transfer_with_retries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
	cbnz	x21, LBB0_2
; %bb.1:
	add	x8, sp, #12
	str	x8, [x19, #8]
LBB0_2:
Lloh0:
	adrp	x22, _AUX_MAX_RETRIES@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AUX_MAX_RETRIES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.3:
	mov	w28, #0
	mov	w27, #0
	mov	w23, #0
	mov	w26, #0
	mov	w24, #0
	mov	w25, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w27, w27, #1
Lloh2:
	adrp	x8, _AUX_MAX_TIMEOUT_RETRIES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AUX_MAX_TIMEOUT_RETRIES@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w27, w8
	b.ge	LBB0_22
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w25, w25, #1
	ldr	w8, [x22]
	cmp	w25, w8
	b.ge	LBB0_22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_dce_aux_transfer_raw
	ldr	w8, [sp, #8]
	cmp	w8, #138
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #136
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #135
	b.ne	LBB0_22
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh5:
	adrp	x11, lJTI0_0@PAGE
Lloh6:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_11
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, #1
Lloh7:
	adrp	x8, _AUX_MAX_DEFER_RETRIES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AUX_MAX_DEFER_RETRIES@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w26, w8
	b.lt	LBB0_17
	b	LBB0_22
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w28, w28, #1
Lloh10:
	adrp	x8, _AUX_MAX_INVALID_REPLY_RETRIES@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AUX_MAX_INVALID_REPLY_RETRIES@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w28, w8
	b.ge	LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #400
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_udelay
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w23, w23, #1
Lloh13:
	adrp	x8, _AUX_MAX_I2C_DEFER_RETRIES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AUX_MAX_I2C_DEFER_RETRIES@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ge	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w26, #0
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w27, #0
	mov	w28, #0
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_25
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	cmp	w8, w0
	b.eq	LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w24, #1
	ldr	w8, [x22]
	cmp	w24, w8
	b.ge	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w27, #0
	mov	w28, #0
	mov	w0, #300
	b	LBB0_14
LBB0_22:
	mov	w0, #0
	cbnz	x21, LBB0_24
; %bb.23:
	str	xzr, [x19, #8]
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
	mov	w0, #1
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_15-LBB0_11)>>2
	.byte	(LBB0_22-LBB0_11)>>2
	.byte	(LBB0_22-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_18-LBB0_11)>>2
                                        ; -- End function
	.comm	_AUX_MAX_RETRIES,4,2            ; @AUX_MAX_RETRIES
	.comm	_AUX_MAX_DEFER_RETRIES,4,2      ; @AUX_MAX_DEFER_RETRIES
	.comm	_AUX_MAX_I2C_DEFER_RETRIES,4,2  ; @AUX_MAX_I2C_DEFER_RETRIES
	.comm	_AUX_MAX_INVALID_REPLY_RETRIES,4,2 ; @AUX_MAX_INVALID_REPLY_RETRIES
	.comm	_AUX_MAX_TIMEOUT_RETRIES,4,2    ; @AUX_MAX_TIMEOUT_RETRIES
.subsections_via_symbols
