	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksign_parse_v4_subpackets
_ksign_parse_v4_subpackets:             ## @ksign_parse_v4_subpackets
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, -24(%rbp)
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.1:
	movq	%rdx, %rbx
	leaq	-24(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, %rsi
	movq	%rcx, %rbx
	testq	%rcx, %rcx
	je	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	4(%rsi), %rdx
	movq	%rdx, -24(%rbp)
	movslq	(%rsi), %rax
	leaq	-1(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-193(%rax), %edx
	cmpl	$61, %edx
	ja	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$192, %rcx
	jb	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	shlq	$8, %rax
	leaq	8(%rsi), %rcx
	movq	%rcx, -24(%rbp)
	movslq	4(%rsi), %rcx
	addq	%rcx, %rax
	addq	$-48960, %rax                   ## imm = 0xFFFF40C0
	addq	$-2, %rbx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$255, %eax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$4, %rcx
	jb	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_read_32
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$-5, %rbx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rcx
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	subq	%rax, %rcx
	jb	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	shlq	$2, %rax
	addq	-24(%rbp), %rax
	movq	%rax, -24(%rbp)
	movq	%rax, %rdx
	jmp	LBB0_13
LBB0_14:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_BUG_ON
	jmp	LBB0_17
LBB0_15:
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_16:
	movq	_EBADMSG@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBADMSG,4,2                    ## @EBADMSG
	.comm	_KSIGN_HAVE_TIMESTAMP,4,2       ## @KSIGN_HAVE_TIMESTAMP
	.comm	_KSIGN_HAVE_KEYID,4,2           ## @KSIGN_HAVE_KEYID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ksign: signature subpkt too short\n"

	.no_dead_strip	_ksign_parse_v4_subpackets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ksign_parse_v4_subpackets
_ksign_parse_v4_subpackets:             ; @ksign_parse_v4_subpackets
	.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
	str	x1, [sp, #8]
	cbz	x2, LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x20, #-48960
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x9
	mov	x19, x8
	cbz	x8, LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x1
	ldrsw	x0, [x9], #4
	str	x9, [sp, #8]
	sub	x8, x19, #1
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w9, w0, #193
	cmp	w9, #61
	b.hi	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, #192
	b.lo	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x1, #8
	str	x8, [sp, #8]
	ldrsw	x8, [x1, #4]
	add	x8, x8, x0, lsl #8
	add	x0, x8, x20
	sub	x8, x19, #2
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #255
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, #4
	b.lo	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_read_32
	cbz	x0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x19, #5
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	subs	x8, x8, x0
	b.lo	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #8]
	add	x1, x9, x0, lsl #2
	str	x1, [sp, #8]
	mov	x19, x8
	cbnz	x8, LBB0_3
LBB0_13:
	mov	w0, #0
	bl	_BUG_ON
	mov	w0, #0
	b	LBB0_16
LBB0_14:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_15:
Lloh2:
	adrp	x8, _EBADMSG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBADMSG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EBADMSG,4,2                    ; @EBADMSG
	.comm	_KSIGN_HAVE_TIMESTAMP,4,2       ; @KSIGN_HAVE_TIMESTAMP
	.comm	_KSIGN_HAVE_KEYID,4,2           ; @KSIGN_HAVE_KEYID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ksign: signature subpkt too short\n"

	.no_dead_strip	_ksign_parse_v4_subpackets
.subsections_via_symbols
