	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsa_sig_info_set
_rsa_sig_info_set:                      ## @rsa_sig_info_set
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -64(%rbp)
	movq	$0, -48(%rbp)
	movl	(%rsi), %edi
	callq	_OBJ_obj2nid
	movq	_EVP_PKEY_RSA_PSS@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	cmpq	(%r13), %rax
	jne	LBB0_14
## %bb.1:
	movq	%rbx, %rdi
	callq	_rsa_pss_decode
	movq	%rax, %r15
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movq	%rax, %rdi
	callq	_rsa_pss_get_param
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	-48(%rbp), %rdi
	callq	_EVP_MD_type
	movl	%eax, %ebx
	movq	_NID_sha256@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_7
## %bb.3:
	movq	_NID_sha384@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_7
## %bb.4:
	movq	_NID_sha512@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_11
LBB0_7:
	movq	-64(%rbp), %rdi
	callq	_EVP_MD_type
	cmpl	%eax, %ebx
	jne	LBB0_11
## %bb.8:
	movl	-52(%rbp), %r12d
	movq	-48(%rbp), %rdi
	callq	_EVP_MD_size
	cmpl	%eax, %r12d
	jne	LBB0_11
## %bb.9:
	movq	_X509_SIG_INFO_TLS@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_12
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	movq	(%r13), %r13
	movq	-48(%rbp), %rdi
	callq	_EVP_MD_size
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movq	%r12, %r8
	callq	_X509_SIG_INFO_set
	movl	$1, %r12d
	jmp	LBB0_13
LBB0_6:
	xorl	%r12d, %r12d
LBB0_13:
	movq	%r15, %rdi
	callq	_RSA_PSS_PARAMS_free
LBB0_14:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_PKEY_RSA_PSS,8,3           ## @EVP_PKEY_RSA_PSS
	.comm	_NID_sha256,4,2                 ## @NID_sha256
	.comm	_NID_sha384,4,2                 ## @NID_sha384
	.comm	_NID_sha512,4,2                 ## @NID_sha512
	.comm	_X509_SIG_INFO_TLS,8,3          ## @X509_SIG_INFO_TLS
	.no_dead_strip	_rsa_sig_info_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsa_sig_info_set
_rsa_sig_info_set:                      ; @rsa_sig_info_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
	stp	xzr, xzr, [sp, #8]
	ldr	w0, [x1]
	bl	_OBJ_obj2nid
Lloh0:
	adrp	x23, _EVP_PKEY_RSA_PSS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EVP_PKEY_RSA_PSS@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_rsa_pss_decode
	mov	x20, x0
	add	x1, sp, #8
	add	x2, sp, #16
	add	x3, sp, #28
	bl	_rsa_pss_get_param
	cbz	w0, LBB0_8
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_EVP_MD_type
	mov	x21, x0
Lloh2:
	adrp	x8, _NID_sha256@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NID_sha256@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _NID_sha384@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NID_sha384@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _NID_sha512@GOTPAGE
Lloh9:
	ldr	x10, [x10, _NID_sha512@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	ccmp	w0, w10, #4, ne
	b.ne	LBB0_6
; %bb.3:
	ldr	x0, [sp, #16]
	bl	_EVP_MD_type
	cmp	w21, w0
	b.ne	LBB0_6
; %bb.4:
	ldr	w22, [sp, #28]
	ldr	x0, [sp, #8]
	bl	_EVP_MD_size
Lloh11:
	adrp	x8, _X509_SIG_INFO_TLS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _X509_SIG_INFO_TLS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	w22, w0
	csel	x22, x8, xzr, eq
	b	LBB0_7
LBB0_5:
	mov	w19, #0
	b	LBB0_10
LBB0_6:
	mov	x22, #0
LBB0_7:
	ldr	x23, [x23]
	ldr	x0, [sp, #8]
	bl	_EVP_MD_size
	lsl	w3, w0, #2
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x4, x22
	bl	_X509_SIG_INFO_set
	mov	w19, #1
	b	LBB0_9
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x20
	bl	_RSA_PSS_PARAMS_free
LBB0_10:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_PKEY_RSA_PSS,8,3           ; @EVP_PKEY_RSA_PSS
	.comm	_NID_sha256,4,2                 ; @NID_sha256
	.comm	_NID_sha384,4,2                 ; @NID_sha384
	.comm	_NID_sha512,4,2                 ; @NID_sha512
	.comm	_X509_SIG_INFO_TLS,8,3          ; @X509_SIG_INFO_TLS
	.no_dead_strip	_rsa_sig_info_set
.subsections_via_symbols
