	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipath_compute_aeth             ## -- Begin function ipath_compute_aeth
	.p2align	4, 0x90
_ipath_compute_aeth:                    ## @ipath_compute_aeth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	(%rdi), %r8
	movq	_IPATH_MSN_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cmpq	$0, 24(%rax)
	je	LBB0_2
## %bb.1:
	movq	_IPATH_AETH_CREDIT_INVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_8
LBB0_2:
	movq	8(%rax), %rcx
	movq	16(%rax), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	xorl	%esi, %esi
	cmpq	%rcx, %rdx
	cmovgeq	%rsi, %rdx
	cmpq	%rcx, %rax
	cmovlq	%rax, %rsi
	subq	%rsi, %rdx
	movslq	%edx, %rax
	sarq	$31, %rax
	andq	%rcx, %rax
	addq	%rdx, %rax
	movq	_credit_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movq	120(%r9), %rdx
	movl	$15, %esi
	cmpq	%rax, %rdx
	je	LBB0_8
## %bb.3:
	movl	$31, %r10d
	movl	$15, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rsi, %r10
	movq	%rcx, %rsi
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rsi, %rcx
	leaq	(%rsi,%r10), %rdx
	movq	%rdx, %rsi
	shrq	$63, %rsi
	addq	%rdx, %rsi
	sarq	%rsi
	movq	(%r9,%rsi,8), %rdx
	cmpq	%rax, %rdx
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rdx
	jg	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rsi, %rcx
	jne	LBB0_7
LBB0_8:
	movq	_IPATH_AETH_CREDIT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rsi
	andq	%r8, %rdi
	orq	%rsi, %rdi
	popq	%rbp
	jmp	_cpu_to_be32                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPATH_MSN_MASK,8,3             ## @IPATH_MSN_MASK
	.comm	_IPATH_AETH_CREDIT_INVAL,8,3    ## @IPATH_AETH_CREDIT_INVAL
	.comm	_IPATH_AETH_CREDIT_SHIFT,8,3    ## @IPATH_AETH_CREDIT_SHIFT
	.comm	_credit_table,8,3               ## @credit_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipath_compute_aeth             ; -- Begin function ipath_compute_aeth
	.p2align	2
_ipath_compute_aeth:                    ; @ipath_compute_aeth
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IPATH_MSN_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPATH_MSN_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x10, [x0, #24]
	cbz	x10, LBB0_2
; %bb.1:
Lloh3:
	adrp	x10, _IPATH_AETH_CREDIT_INVAL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IPATH_AETH_CREDIT_INVAL@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x10]
	b	LBB0_9
LBB0_2:
	ldp	x11, x10, [x0, #8]
	ldp	x12, x10, [x10]
	cmp	x12, x11
	csel	x12, x12, xzr, lt
	cmp	x10, x11
	csel	x10, x10, xzr, lt
	sub	x10, x12, x10
	lsl	x12, x10, #32
	and	x11, x11, x12, asr #63
	add	x10, x11, x10
Lloh6:
	adrp	x11, _credit_table@GOTPAGE
Lloh7:
	ldr	x11, [x11, _credit_table@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	ldr	x15, [x11, #120]
	cmp	x15, x10
	b.ne	LBB0_4
; %bb.3:
	mov	w12, #15
	b	LBB0_9
LBB0_4:
	mov	x14, #0
	mov	w13, #31
	mov	w12, #15
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x13, x12
	mov	x12, x14
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x14, x12
	add	x12, x12, x13
	cmp	x12, #0
	cinc	x12, x12, lt
	asr	x12, x12, #1
	ldr	x15, [x11, x12, lsl #3]
	cmp	x15, x10
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x15, x10
	b.gt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	x14, x12
	b.ne	LBB0_6
LBB0_9:
Lloh9:
	adrp	x10, _IPATH_AETH_CREDIT_SHIFT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IPATH_AETH_CREDIT_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	lsl	x10, x12, x10
	and	x8, x9, x8
	orr	x0, x10, x8
	b	_cpu_to_be32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IPATH_MSN_MASK,8,3             ; @IPATH_MSN_MASK
	.comm	_IPATH_AETH_CREDIT_INVAL,8,3    ; @IPATH_AETH_CREDIT_INVAL
	.comm	_IPATH_AETH_CREDIT_SHIFT,8,3    ; @IPATH_AETH_CREDIT_SHIFT
	.comm	_credit_table,8,3               ; @credit_table
.subsections_via_symbols
