	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_sig_info_init
_x509_sig_info_init:                    ## @x509_sig_info_init
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_NID_undef@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, (%rdi)
	movl	(%r12), %eax
	movl	%eax, 4(%rdi)
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	movq	%rax, 8(%rdi)
	movl	(%rsi), %edi
	callq	_OBJ_obj2nid
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movl	%eax, %edi
	callq	_OBJ_find_sigid_algs
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	movl	-40(%rbp), %esi
	movl	(%r12), %eax
	cmpl	%eax, %esi
	je	LBB0_11
## %bb.2:
	movl	%esi, 4(%rbx)
	movl	-36(%rbp), %edi
	cmpl	%eax, %edi
	jne	LBB0_7
## %bb.3:
	xorl	%edi, %edi
	callq	_EVP_PKEY_asn1_find
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	_X509_SIG_INFO_VALID@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_X509_SIG_INFO_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rbx)
	movl	%edi, (%rbx)
	callq	_EVP_get_digestbynid
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %rdi
	callq	_EVP_MD_size
	shll	$2, %eax
	movl	%eax, 8(%rbx)
	movl	-36(%rbp), %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.9:
	movq	_X509_SIG_INFO_TLS@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	orl	%eax, 12(%rbx)
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	_X509_SIG_INFO_VALID,4,2        ## @X509_SIG_INFO_VALID
	.comm	_X509_SIG_INFO_TLS,4,2          ## @X509_SIG_INFO_TLS
	.no_dead_strip	_x509_sig_info_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_sig_info_init
_x509_sig_info_init:                    ; @x509_sig_info_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _NID_undef@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NID_undef@GOTPAGEOFF]
	ldr	w8, [x22]
	str	w8, [x0]
	ldr	w8, [x22]
	str	w8, [x0, #4]
	movi	d0, #0x000000ffffffff
	str	d0, [x0, #8]
	ldr	w0, [x1]
	bl	_OBJ_obj2nid
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_OBJ_find_sigid_algs
	cbz	w0, LBB0_11
; %bb.1:
	ldr	w1, [sp, #12]
	ldr	w8, [x22]
	cmp	w1, w8
	b.eq	LBB0_11
; %bb.2:
	str	w1, [x19, #4]
	ldr	w0, [sp, #8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.3:
	mov	x0, #0
	bl	_EVP_PKEY_asn1_find
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x8, [x0]
	cbz	x8, LBB0_11
; %bb.5:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	blr	x8
	cbz	x0, LBB0_11
; %bb.6:
Lloh2:
	adrp	x8, _X509_SIG_INFO_VALID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _X509_SIG_INFO_VALID@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh4:
	adrp	x8, _X509_SIG_INFO_VALID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _X509_SIG_INFO_VALID@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
	str	w0, [x19]
	bl	_EVP_get_digestbynid
	cbz	x0, LBB0_11
; %bb.8:
	bl	_EVP_MD_size
	lsl	w8, w0, #2
	str	w8, [x19, #8]
	ldr	w8, [sp, #8]
	and	w8, w8, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.9:
Lloh7:
	adrp	x8, _X509_SIG_INFO_TLS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _X509_SIG_INFO_TLS@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
LBB0_11:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	_X509_SIG_INFO_VALID,4,2        ; @X509_SIG_INFO_VALID
	.comm	_X509_SIG_INFO_TLS,4,2          ; @X509_SIG_INFO_TLS
	.no_dead_strip	_x509_sig_info_init
.subsections_via_symbols
