	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ikev1_print
_ikev1_print:                           ## @ikev1_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	24(%r8), %edi
	callq	_EXTRACT_32BITS
	cmpq	$1, %rax
	movl	$2, %r13d
	sbbl	$0, %r13d
	movq	%r13, %rdi
	callq	_ND_PRINT
	leaq	16(%rbx), %r12
	movq	%r12, %rdi
	callq	_cookie_find
	testl	%eax, %eax
	js	LBB0_1
## %bb.4:
	testq	%r14, %r14
	je	LBB0_9
## %bb.5:
	movl	%eax, %r15d
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_cookie_isinitiator
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_10
LBB0_1:
	leaq	20(%rbx), %rdi
	movl	$4, %esi
	callq	_iszero
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	leaq	L_.str.2(%rip), %rdi
	callq	_ND_PRINT
	testq	%r14, %r14
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_11
## %bb.3:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_cookie_record
	jmp	LBB0_11
LBB0_7:
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_cookie_isresponder
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
LBB0_10:
	callq	_ND_PRINT
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_11:
	movl	12(%rbx), %edi
	callq	_ETYPESTR
	movslq	%eax, %rdi
	callq	_ND_PRINT
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movq	_ISAKMP_FLAG_C@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	leaq	L_.str.8(%rip), %rax
	leaq	L_.str.9(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_ND_PRINT
LBB0_13:
	cmpq	$0, (%r15)
	je	LBB0_19
## %bb.14:
	leaq	L_.str.10(%rip), %rdi
	callq	_ND_PRINT
	movq	_ISAKMP_FLAG_E@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_16
## %bb.15:
	movl	8(%rbx), %edi
	callq	_NPSTR
	movslq	%eax, %rdi
	callq	_ND_PRINT
	cmpq	$0, (%r15)
	jne	LBB0_18
	jmp	LBB0_19
LBB0_16:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	addq	$28, %r14
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_CHECKLEN
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_ikev1_sub_print
	addq	$16, %rsp
	cmpq	$0, (%r15)
	je	LBB0_19
LBB0_18:
	movl	4(%rbx), %edi
	callq	_ntohl
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_20
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	4(%rbx), %edi
	callq	_ntohl
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	" I"

L_.str.3:                               ## @.str.3
	.asciz	" ?"

L_.str.4:                               ## @.str.4
	.asciz	" R"

	.comm	_ISAKMP_FLAG_E,4,2              ## @ISAKMP_FLAG_E
L_.str.8:                               ## @.str.8
	.space	1

	.comm	_ISAKMP_FLAG_C,4,2              ## @ISAKMP_FLAG_C
L_.str.9:                               ## @.str.9
	.asciz	"C"

L_.str.10:                              ## @.str.10
	.asciz	":"

	.no_dead_strip	_ikev1_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ikev1_print
_ikev1_print:                           ; @ikev1_print
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x25, x3
	mov	x19, x2
	mov	x24, x1
	mov	x21, x0
	ldr	x22, [x0, #8]
	ldr	w0, [x4, #24]
	bl	_EXTRACT_32BITS
	cmp	x0, #0
	mov	w8, #1
	cinc	w23, w8, ne
	mov	x0, x23
	bl	_ND_PRINT
	add	x26, x20, #16
	mov	x0, x26
	bl	_cookie_find
	tbnz	w0, #31, LBB0_4
; %bb.1:
	cbz	x25, LBB0_9
; %bb.2:
	mov	x27, x0
	mov	x1, x25
	bl	_cookie_isinitiator
	cbz	x0, LBB0_7
; %bb.3:
Lloh0:
	adrp	x0, l_.str.2@PAGE
Lloh1:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_4:
	add	x0, x20, #20
	mov	w1, #4
	bl	_iszero
	cbz	x0, LBB0_9
; %bb.5:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ND_PRINT
	cbz	x25, LBB0_11
; %bb.6:
	mov	x0, x26
	mov	x1, x25
	bl	_cookie_record
	b	LBB0_11
LBB0_7:
	mov	x0, x27
	mov	x1, x25
	bl	_cookie_isresponder
	cbz	x0, LBB0_9
; %bb.8:
Lloh4:
	adrp	x0, l_.str.4@PAGE
Lloh5:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_10:
	bl	_ND_PRINT
LBB0_11:
	ldr	w0, [x20, #12]
	bl	_ETYPESTR
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	ldr	w8, [x20]
	cbz	w8, LBB0_13
; %bb.12:
Lloh8:
	adrp	x9, _ISAKMP_FLAG_C@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ISAKMP_FLAG_C@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, l_.str.9@PAGE
Lloh12:
	add	x10, x10, l_.str.9@PAGEOFF
Lloh13:
	adrp	x11, l_.str.8@PAGE
Lloh14:
	add	x11, x11, l_.str.8@PAGEOFF
	tst	w9, w8
	csel	x0, x11, x10, eq
	bl	_ND_PRINT
LBB0_13:
	ldr	x8, [x21]
	cbz	x8, LBB0_18
; %bb.14:
Lloh15:
	adrp	x0, l_.str.10@PAGE
Lloh16:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_ND_PRINT
	ldr	w8, [x20]
Lloh17:
	adrp	x9, _ISAKMP_FLAG_E@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ISAKMP_FLAG_E@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	w0, [x20, #8]
	bl	_NPSTR
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	ldr	x8, [x21]
	cbnz	x8, LBB0_17
	b	LBB0_18
LBB0_16:
	add	x24, x24, #28
	ldr	w1, [x20, #8]
	mov	x0, x24
	bl	_CHECKLEN
	ldr	w1, [x20, #8]
	mov	x0, x21
	mov	x2, x24
	mov	x3, x22
	mov	x4, x23
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_ikev1_sub_print
	ldr	x8, [x21]
	cbz	x8, LBB0_18
LBB0_17:
	ldr	w0, [x20, #4]
	bl	_ntohl
	cmp	x0, x19
	b.ne	LBB0_19
LBB0_18:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	ldr	w0, [x20, #4]
	bl	_ntohl
	mov	x0, x19
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ND_PRINT
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	" I"

l_.str.3:                               ; @.str.3
	.asciz	" ?"

l_.str.4:                               ; @.str.4
	.asciz	" R"

	.comm	_ISAKMP_FLAG_E,4,2              ; @ISAKMP_FLAG_E
l_.str.8:                               ; @.str.8
	.space	1

	.comm	_ISAKMP_FLAG_C,4,2              ; @ISAKMP_FLAG_C
l_.str.9:                               ; @.str.9
	.asciz	"C"

l_.str.10:                              ; @.str.10
	.asciz	":"

	.no_dead_strip	_ikev1_print
.subsections_via_symbols
