	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeParseCertPayload            ## -- Begin function IkeParseCertPayload
	.p2align	4, 0x90
_IkeParseCertPayload:                   ## @IkeParseCertPayload
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	%rdi, %r14
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_ReadBuf
	cmpl	$4, %eax
	jne	LBB0_4
## %bb.3:
	movl	-32(%rbp), %eax
	movl	%eax, 8(%r14)
	movq	%rbx, %rdi
	callq	_ReadRemainBuf
	movq	%rax, (%r14)
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeParseCertPayload            ; -- Begin function IkeParseCertPayload
	.p2align	2
_IkeParseCertPayload:                   ; @IkeParseCertPayload
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #0
	cbz	x19, LBB0_5
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_5
; %bb.2:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #4
	bl	_ReadBuf
	cmp	w0, #4
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [sp, #8]
	str	w8, [x19, #8]
	mov	x0, x20
	bl	_ReadRemainBuf
	str	x0, [x19]
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
