	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_get_req_cert_type         ## -- Begin function ssl3_get_req_cert_type
	.p2align	4, 0x90
_ssl3_get_req_cert_type:                ## @ssl3_get_req_cert_type
	.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	%rsi, %r14
	movl	$0, -36(%rbp)
	movq	16(%rdi), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WPACKET_memcpy                 ## TAILCALL
LBB0_2:
	movq	%rdi, %rbx
	movq	_SSL_SECOP_SIGALG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_ssl_set_sig_mask
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movq	_TLS1_VERSION@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rcx
	jl	LBB0_7
## %bb.3:
	movq	_SSL_kGOST@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_7
## %bb.4:
	movq	_TLS_CT_GOST01_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u8
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_20
## %bb.5:
	movq	_TLS_CT_GOST12_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u8
	testq	%rax, %rax
	je	LBB0_20
## %bb.6:
	movq	_TLS_CT_GOST12_512_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u8
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	jmp	LBB0_20
LBB0_7:
	movq	_SSL3_VERSION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.8:
	movq	_SSL_kDHE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.9:
	movq	_SSL3_CT_RSA_EPHEMERAL_DH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u8
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_20
## %bb.10:
	movq	_SSL3_CT_DSS_EPHEMERAL_DH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u8
	testq	%rax, %rax
	je	LBB0_20
LBB0_11:
	movl	-36(%rbp), %eax
	movq	_SSL_aRSA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_14
## %bb.12:
	movq	_SSL3_CT_RSA_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u8
	testq	%rax, %rax
	je	LBB0_21
## %bb.13:
	movl	-36(%rbp), %eax
LBB0_14:
	movq	_SSL_aDSS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_16
## %bb.15:
	movq	_SSL3_CT_DSS_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u8
	testq	%rax, %rax
	je	LBB0_21
LBB0_16:
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	jl	LBB0_19
## %bb.17:
	movq	_SSL_aECDSA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -36(%rbp)
	jne	LBB0_19
## %bb.18:
	movq	_TLS_CT_ECDSA_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u8
	testq	%rax, %rax
	je	LBB0_21
LBB0_19:
	movl	$1, %r15d
	jmp	LBB0_20
LBB0_21:
	xorl	%r15d, %r15d
LBB0_20:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_SECOP_SIGALG_MASK,4,2      ## @SSL_SECOP_SIGALG_MASK
	.comm	_TLS1_VERSION,8,3               ## @TLS1_VERSION
	.comm	_SSL_kGOST,4,2                  ## @SSL_kGOST
	.comm	_TLS_CT_GOST01_SIGN,4,2         ## @TLS_CT_GOST01_SIGN
	.comm	_TLS_CT_GOST12_SIGN,4,2         ## @TLS_CT_GOST12_SIGN
	.comm	_TLS_CT_GOST12_512_SIGN,4,2     ## @TLS_CT_GOST12_512_SIGN
	.comm	_SSL3_VERSION,8,3               ## @SSL3_VERSION
	.comm	_SSL_kDHE,4,2                   ## @SSL_kDHE
	.comm	_SSL3_CT_RSA_EPHEMERAL_DH,4,2   ## @SSL3_CT_RSA_EPHEMERAL_DH
	.comm	_SSL3_CT_DSS_EPHEMERAL_DH,4,2   ## @SSL3_CT_DSS_EPHEMERAL_DH
	.comm	_SSL_aRSA,4,2                   ## @SSL_aRSA
	.comm	_SSL3_CT_RSA_SIGN,4,2           ## @SSL3_CT_RSA_SIGN
	.comm	_SSL_aDSS,4,2                   ## @SSL_aDSS
	.comm	_SSL3_CT_DSS_SIGN,4,2           ## @SSL3_CT_DSS_SIGN
	.comm	_SSL_aECDSA,4,2                 ## @SSL_aECDSA
	.comm	_TLS_CT_ECDSA_SIGN,4,2          ## @TLS_CT_ECDSA_SIGN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_get_req_cert_type         ; -- Begin function ssl3_get_req_cert_type
	.p2align	2
_ssl3_get_req_cert_type:                ; @ssl3_get_req_cert_type
	.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	x19, x1
	str	wzr, [sp, #12]
	ldr	x8, [x0, #16]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w2, [x8]
	mov	x0, x19
	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
	b	_WPACKET_memcpy
LBB0_2:
	mov	x20, x0
Lloh0:
	adrp	x8, _SSL_SECOP_SIGALG_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_SECOP_SIGALG_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	x1, x20
	bl	_ssl_set_sig_mask
	ldp	x9, x8, [x20]
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _TLS1_VERSION@GOTPAGE
Lloh4:
	ldr	x21, [x21, _TLS1_VERSION@GOTPAGEOFF]
	ldr	x10, [x21]
	cmp	x9, x10
	b.lt	LBB0_7
; %bb.3:
Lloh5:
	adrp	x10, _SSL_kGOST@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SSL_kGOST@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_7
; %bb.4:
Lloh8:
	adrp	x8, _TLS_CT_GOST01_SIGN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TLS_CT_GOST01_SIGN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WPACKET_put_bytes_u8
	cbz	x0, LBB0_20
; %bb.5:
Lloh11:
	adrp	x8, _TLS_CT_GOST12_SIGN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TLS_CT_GOST12_SIGN@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WPACKET_put_bytes_u8
	cbz	x0, LBB0_20
; %bb.6:
Lloh14:
	adrp	x8, _TLS_CT_GOST12_512_SIGN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TLS_CT_GOST12_512_SIGN@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WPACKET_put_bytes_u8
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_20
LBB0_7:
Lloh17:
	adrp	x10, _SSL3_VERSION@GOTPAGE
Lloh18:
	ldr	x10, [x10, _SSL3_VERSION@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.8:
Lloh20:
	adrp	x9, _SSL_kDHE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SSL_kDHE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
Lloh23:
	adrp	x8, _SSL3_CT_RSA_EPHEMERAL_DH@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SSL3_CT_RSA_EPHEMERAL_DH@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WPACKET_put_bytes_u8
	cbz	x0, LBB0_20
; %bb.10:
Lloh26:
	adrp	x8, _SSL3_CT_DSS_EPHEMERAL_DH@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SSL3_CT_DSS_EPHEMERAL_DH@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WPACKET_put_bytes_u8
	cbz	x0, LBB0_20
LBB0_11:
	ldr	w8, [sp, #12]
Lloh29:
	adrp	x9, _SSL_aRSA@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SSL_aRSA@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_14
; %bb.12:
Lloh32:
	adrp	x8, _SSL3_CT_RSA_SIGN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SSL3_CT_RSA_SIGN@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WPACKET_put_bytes_u8
	cbz	x0, LBB0_20
; %bb.13:
	ldr	w8, [sp, #12]
LBB0_14:
Lloh35:
	adrp	x9, _SSL_aDSS@GOTPAGE
Lloh36:
	ldr	x9, [x9, _SSL_aDSS@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.15:
Lloh38:
	adrp	x8, _SSL3_CT_DSS_SIGN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SSL3_CT_DSS_SIGN@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WPACKET_put_bytes_u8
	cbz	x0, LBB0_20
LBB0_16:
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.lt	LBB0_19
; %bb.17:
	ldr	w8, [sp, #12]
Lloh41:
	adrp	x9, _SSL_aECDSA@GOTPAGE
Lloh42:
	ldr	x9, [x9, _SSL_aECDSA@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.18:
Lloh44:
	adrp	x8, _TLS_CT_ECDSA_SIGN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _TLS_CT_ECDSA_SIGN@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WPACKET_put_bytes_u8
	cbz	x0, LBB0_20
LBB0_19:
	mov	w0, #1
LBB0_20:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_SECOP_SIGALG_MASK,4,2      ; @SSL_SECOP_SIGALG_MASK
	.comm	_TLS1_VERSION,8,3               ; @TLS1_VERSION
	.comm	_SSL_kGOST,4,2                  ; @SSL_kGOST
	.comm	_TLS_CT_GOST01_SIGN,4,2         ; @TLS_CT_GOST01_SIGN
	.comm	_TLS_CT_GOST12_SIGN,4,2         ; @TLS_CT_GOST12_SIGN
	.comm	_TLS_CT_GOST12_512_SIGN,4,2     ; @TLS_CT_GOST12_512_SIGN
	.comm	_SSL3_VERSION,8,3               ; @SSL3_VERSION
	.comm	_SSL_kDHE,4,2                   ; @SSL_kDHE
	.comm	_SSL3_CT_RSA_EPHEMERAL_DH,4,2   ; @SSL3_CT_RSA_EPHEMERAL_DH
	.comm	_SSL3_CT_DSS_EPHEMERAL_DH,4,2   ; @SSL3_CT_DSS_EPHEMERAL_DH
	.comm	_SSL_aRSA,4,2                   ; @SSL_aRSA
	.comm	_SSL3_CT_RSA_SIGN,4,2           ; @SSL3_CT_RSA_SIGN
	.comm	_SSL_aDSS,4,2                   ; @SSL_aDSS
	.comm	_SSL3_CT_DSS_SIGN,4,2           ; @SSL3_CT_DSS_SIGN
	.comm	_SSL_aECDSA,4,2                 ; @SSL_aECDSA
	.comm	_TLS_CT_ECDSA_SIGN,4,2          ; @TLS_CT_ECDSA_SIGN
.subsections_via_symbols
