	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_pkcs7_parse_signerinfo
_r_pkcs7_parse_signerinfo:              ## @r_pkcs7_parse_signerinfo
	.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
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.2:
	cmpl	$5, 16(%r15)
	jl	LBB0_17
## %bb.3:
	movq	%rdi, %r14
	movq	24(%r15), %r12
	movq	(%r12), %rax
	movq	40(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdi)
	addq	$28, %rdi
	movq	8(%r12), %rsi
	callq	_r_pkcs7_parse_issuerandserialnumber
	leaq	24(%r14), %rdi
	movq	16(%r12), %rsi
	callq	_r_x509_parse_algorithmidentifier
	movl	16(%r15), %eax
	movl	$3, %r13d
	cmpl	$4, %eax
	jb	LBB0_7
## %bb.4:
	movq	24(%r12), %rsi
	movq	(%rsi), %rcx
	movq	_CLASS_CONTEXT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.5:
	cmpq	$0, 8(%rsi)
	jne	LBB0_7
## %bb.6:
	leaq	20(%r14), %rdi
	callq	_r_pkcs7_parse_attributes
	movl	16(%r15), %eax
	movl	$4, %r13d
LBB0_7:
	cltq
	cmpq	%rax, %r13
	jae	LBB0_9
## %bb.8:
	leaq	16(%r14), %rdi
	movq	(%r12,%r13,8), %rsi
	callq	_r_x509_parse_algorithmidentifier
	incq	%r13
	movslq	16(%r15), %rax
LBB0_9:
	cmpq	%rax, %r13
	jae	LBB0_12
## %bb.10:
	movq	24(%r15), %rcx
	movq	(%rcx,%r13,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.11:
	movq	40(%rcx), %rdi
	movl	32(%rcx), %esi
	callq	_r_asn1_create_binary
	movl	%eax, 12(%r14)
	incq	%r13
	movslq	16(%r15), %rax
LBB0_12:
	movl	$1, %ebx
	cmpq	%rax, %r13
	jae	LBB0_17
## %bb.13:
	movq	(%r12,%r13,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.14:
	movq	(%rsi), %rax
	movq	_CLASS_CONTEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.15:
	cmpq	$1, 8(%rsi)
	jne	LBB0_17
## %bb.16:
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_r_pkcs7_parse_attributes
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLASS_CONTEXT,8,3              ## @CLASS_CONTEXT
	.no_dead_strip	_r_pkcs7_parse_signerinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_pkcs7_parse_signerinfo
_r_pkcs7_parse_signerinfo:              ; @r_pkcs7_parse_signerinfo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	mov	w0, #0
	cbz	x19, LBB0_19
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_19
; %bb.2:
	ldr	w8, [x20, #16]
	cmp	w8, #5
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_19
LBB0_4:
	ldr	x22, [x20, #24]
	ldp	x8, x1, [x22]
	ldr	x8, [x8, #40]
	ldr	x8, [x8]
	mov	x21, x19
	str	x8, [x21], #24
	add	x0, x19, #28
	bl	_r_pkcs7_parse_issuerandserialnumber
	ldr	x1, [x22, #16]
	mov	x0, x21
	bl	_r_x509_parse_algorithmidentifier
	ldr	w8, [x20, #16]
	cmp	w8, #4
	b.lo	LBB0_7
; %bb.5:
	ldr	x1, [x22, #24]
	ldr	x9, [x1]
Lloh0:
	adrp	x10, _CLASS_CONTEXT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CLASS_CONTEXT@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.6:
	ldr	x9, [x1, #8]
	cbz	x9, LBB0_20
LBB0_7:
	mov	w21, #3
LBB0_8:
	sxtw	x8, w8
	cmp	x21, x8
	b.hs	LBB0_10
; %bb.9:
	add	x0, x19, #16
	ldr	x1, [x22, x21, lsl #3]
	bl	_r_x509_parse_algorithmidentifier
	add	x21, x21, #1
	ldrsw	x8, [x20, #16]
LBB0_10:
	cmp	x21, x8
	b.hs	LBB0_13
; %bb.11:
	ldr	x9, [x20, #24]
	ldr	x9, [x9, x21, lsl #3]
	cbz	x9, LBB0_13
; %bb.12:
	ldr	x0, [x9, #40]
	ldr	w1, [x9, #32]
	bl	_r_asn1_create_binary
	str	w0, [x19, #12]
	add	x21, x21, #1
	ldrsw	x8, [x20, #16]
LBB0_13:
	cmp	x21, x8
	b.hs	LBB0_18
; %bb.14:
	ldr	x1, [x22, x21, lsl #3]
	cbz	x1, LBB0_18
; %bb.15:
	ldr	x8, [x1]
Lloh3:
	adrp	x9, _CLASS_CONTEXT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CLASS_CONTEXT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.16:
	ldr	x8, [x1, #8]
	cmp	x8, #1
	b.ne	LBB0_18
; %bb.17:
	add	x0, x19, #8
	bl	_r_pkcs7_parse_attributes
LBB0_18:
	mov	w0, #1
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_20:
	add	x0, x19, #20
	bl	_r_pkcs7_parse_attributes
	ldr	w8, [x20, #16]
	mov	w21, #4
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CLASS_CONTEXT,8,3              ; @CLASS_CONTEXT
	.no_dead_strip	_r_pkcs7_parse_signerinfo
.subsections_via_symbols
