	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ahcp_print                     ## -- Begin function ahcp_print
	.p2align	4, 0x90
_ahcp_print:                            ## @ahcp_print
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r15
	movslq	%edx, %rbx
	leaq	(%rsi,%rbx,8), %r14
	leaq	L_.str(%rip), %rdi
	callq	_ND_PRINT
	cmpl	$2, %ebx
	jl	LBB0_5
## %bb.1:
	movq	(%r13), %rdi
	movl	$1, %esi
	callq	_ND_TCHECK2
	movq	(%r13), %rax
	movq	_AHCP_MAGIC_NUMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	8(%r13), %rdi
	movl	$1, %esi
	callq	_ND_TCHECK2
	movq	8(%r13), %rax
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.3:
	leaq	16(%r13), %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	_ND_PRINT
	movq	_AHCP1_HEADER_FIX_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%r12d, %esi
	jle	LBB0_6
## %bb.4:
	movq	%rbx, %r13
LBB0_5:
	movq	_istr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	callq	_ND_PRINT
	movq	(%r13), %rdi
	subq	%r13, %r14
	shrq	$3, %r14
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_TCHECK2                     ## TAILCALL
LBB0_10:
	movslq	%eax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
LBB0_6:
	cmpl	$0, (%r15)
	movq	(%rbx), %rdi
	je	LBB0_7
## %bb.8:
	movl	$1, %esi
	callq	_ND_TCHECK2
	movq	16(%r13), %rdi
	callq	_ND_PRINT
	movq	24(%r13), %rdi
	movl	$1, %esi
	callq	_ND_TCHECK2
	movq	24(%r13), %rdi
	callq	_ND_PRINT
	leaq	32(%r13), %r12
	movq	32(%r13), %rdi
	movl	$4, %esi
	callq	_ND_TCHECK2
	movq	%r12, %rdi
	callq	_EXTRACT_32BITS
	movslq	%eax, %rdi
	callq	_ND_PRINT
	leaq	64(%r13), %r12
	movq	64(%r13), %rdi
	movl	$8, %esi
	callq	_ND_TCHECK2
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	$8, %ecx
	callq	_linkaddr_string
	movslq	%eax, %rdi
	callq	_ND_PRINT
	leaq	128(%r13), %r12
	movq	128(%r13), %rdi
	movl	$8, %esi
	callq	_ND_TCHECK2
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	$8, %ecx
	callq	_linkaddr_string
	movslq	%eax, %rdi
	callq	_ND_PRINT
	addq	$192, %r13
	jmp	LBB0_9
LBB0_7:
	addl	$-2, %esi
	movq	%rax, %r12
	callq	_ND_TCHECK2
	movslq	(%r12), %rax
	leaq	(%rbx,%rax,8), %r13
	addq	$-16, %r13
LBB0_9:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ahcp1_body_print               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AHCP"

	.comm	_AHCP_MAGIC_NUMBER,8,3          ## @AHCP_MAGIC_NUMBER
L_.str.1:                               ## @.str.1
	.asciz	" Version 1"

	.comm	_AHCP1_HEADER_FIX_LEN,4,2       ## @AHCP1_HEADER_FIX_LEN
	.comm	_istr,4,2                       ## @istr
	.comm	_tstr,4,2                       ## @tstr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ahcp_print                     ; -- Begin function ahcp_print
	.p2align	2
_ahcp_print:                            ; @ahcp_print
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x2
	mov	x21, x1
	mov	x20, x0
	add	x19, x1, w2, sxtw #3
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND_PRINT
	cmp	w22, #2
	b.lt	LBB0_5
; %bb.1:
	ldr	x0, [x21]
	mov	w1, #1
	bl	_ND_TCHECK2
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _AHCP_MAGIC_NUMBER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AHCP_MAGIC_NUMBER@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x0, [x21, #8]
	mov	w1, #1
	bl	_ND_TCHECK2
	ldr	x8, [x21, #8]
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.3:
	add	x23, x21, #16
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ND_PRINT
Lloh7:
	adrp	x24, _AHCP1_HEADER_FIX_LEN@GOTPAGE
Lloh8:
	ldr	x24, [x24, _AHCP1_HEADER_FIX_LEN@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w22
	b.le	LBB0_7
; %bb.4:
	mov	x21, x23
LBB0_5:
Lloh9:
	adrp	x8, _istr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _istr@GOTPAGEOFF]
Lloh11:
	ldrsw	x0, [x8]
	bl	_ND_PRINT
	ldr	x0, [x21]
	sub	x8, x19, x21
	lsr	x1, x8, #3
                                        ; kill: def $w1 killed $w1 killed $x1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ND_TCHECK2
LBB0_6:
	sxtw	x0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ND_PRINT
LBB0_7:
	ldr	w9, [x20]
	ldr	x0, [x23]
	cbz	w9, LBB0_9
; %bb.8:
	mov	w1, #1
	bl	_ND_TCHECK2
	ldr	x0, [x21, #16]
	bl	_ND_PRINT
	ldr	x0, [x21, #24]
	mov	w1, #1
	bl	_ND_TCHECK2
	ldr	x0, [x21, #24]
	bl	_ND_PRINT
	mov	x22, x21
	ldr	x0, [x22, #32]!
	mov	w1, #4
	bl	_ND_TCHECK2
	mov	x0, x22
	bl	_EXTRACT_32BITS
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	mov	x22, x21
	ldr	x0, [x22, #64]!
	mov	w1, #8
	bl	_ND_TCHECK2
	mov	x0, x20
	mov	x1, x22
	mov	w2, #0
	mov	w3, #8
	bl	_linkaddr_string
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	ldr	x0, [x21, #128]!
	mov	w1, #8
	bl	_ND_TCHECK2
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	mov	w3, #8
	bl	_linkaddr_string
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	add	x1, x21, #64
	b	LBB0_10
LBB0_9:
	sub	w1, w8, #2
	bl	_ND_TCHECK2
	ldrsw	x8, [x24]
	add	x8, x23, x8, lsl #3
	sub	x1, x8, #16
LBB0_10:
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ahcp1_body_print
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AHCP"

	.comm	_AHCP_MAGIC_NUMBER,8,3          ; @AHCP_MAGIC_NUMBER
l_.str.1:                               ; @.str.1
	.asciz	" Version 1"

	.comm	_AHCP1_HEADER_FIX_LEN,4,2       ; @AHCP1_HEADER_FIX_LEN
	.comm	_istr,4,2                       ; @istr
	.comm	_tstr,4,2                       ; @tstr
.subsections_via_symbols
