	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_get_sigalgs                ## -- Begin function SSL_get_sigalgs
	.p2align	4, 0x90
_SSL_get_sigalgs:                       ## @SSL_get_sigalgs
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.1:
	movq	%rdx, %r12
	movq	8(%rdi), %rbx
	movq	_INT_MAX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rbx
	ja	LBB0_23
## %bb.2:
	testl	%esi, %esi
	js	LBB0_22
## %bb.3:
	cmpl	%esi, %ebx
	jle	LBB0_23
## %bb.4:
	movq	%r8, %r14
	movq	16(%rbp), %rdi
	movl	%esi, %eax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movb	1(%rcx,%rax,4), %dl
	movb	%dl, (%rdi)
LBB0_6:
	testq	%r9, %r9
	je	LBB0_8
## %bb.7:
	movb	(%rcx,%rax,4), %dl
	movb	%dl, (%r9)
LBB0_8:
	movl	(%rcx,%rax,4), %edi
	callq	_tls1_lookup_sigalg
	testq	%r12, %r12
	je	LBB0_12
## %bb.9:
	movq	%rax, %rcx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_NID_undef@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %ecx
	movl	%ecx, (%r12)
LBB0_12:
	testq	%r15, %r15
	je	LBB0_17
## %bb.13:
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:
	movq	_NID_undef@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_14:
	leaq	4(%rax), %rcx
LBB0_16:
	movl	(%rcx), %ecx
	movl	%ecx, (%r15)
LBB0_17:
	testq	%r14, %r14
	je	LBB0_22
## %bb.18:
	testq	%rax, %rax
	jne	LBB0_19
## %bb.20:
	movq	_NID_undef@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	addq	$8, %rax
LBB0_21:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_22:
	movl	%ebx, %eax
LBB0_23:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_NID_undef,4,2                  ## @NID_undef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_get_sigalgs                ; -- Begin function SSL_get_sigalgs
	.p2align	2
_SSL_get_sigalgs:                       ; @SSL_get_sigalgs
	.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
	ldp	x8, x19, [x0]
Lloh0:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x19, x9, #2, ne
	b.hi	LBB0_13
; %bb.1:
	tbnz	w1, #31, LBB0_14
; %bb.2:
	cmp	w19, w1
	b.le	LBB0_13
; %bb.3:
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	w9, w1
	cbz	x6, LBB0_5
; %bb.4:
	ldr	w10, [x8, x9, lsl #2]
	lsr	w10, w10, #8
	strb	w10, [x6]
LBB0_5:
	cbz	x5, LBB0_7
; %bb.6:
	ldr	w10, [x8, x9, lsl #2]
	strb	w10, [x5]
LBB0_7:
	ldr	w0, [x8, x9, lsl #2]
	bl	_tls1_lookup_sigalg
Lloh3:
	adrp	x8, _NID_undef@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
	cbz	x22, LBB0_9
; %bb.8:
	cmp	x0, #0
	csel	x9, x8, x0, eq
	ldr	w9, [x9]
	str	w9, [x22]
LBB0_9:
	cbz	x21, LBB0_11
; %bb.10:
	add	x9, x0, #4
	cmp	x0, #0
	csel	x9, x8, x9, eq
	ldr	w9, [x9]
	str	w9, [x21]
LBB0_11:
	cbz	x20, LBB0_14
; %bb.12:
	add	x9, x0, #8
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_14
LBB0_13:
	mov	w19, #0
LBB0_14:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_NID_undef,4,2                  ; @NID_undef
.subsections_via_symbols
