	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls1_set_groups                ## -- Begin function tls1_set_groups
	.p2align	4, 0x90
_tls1_set_groups:                       ## @tls1_set_groups
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.3:
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	(,%rcx,4), %rdi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movq	%rax, %r13
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	leaq	-72(%rbp), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r14,4), %edi
	callq	_tls1_nid2group_id
	movzbl	%al, %ecx
	cmpl	$63, %ecx
	ja	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edx
	movl	%eax, %ecx
	shlq	%cl, %rdx
	movq	%r15, %rcx
	cmpl	$256, %eax                      ## imm = 0x100
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	-64(%rbp), %rcx
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rcx), %rsi
	testq	%rdx, %rsi
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	orq	%rdx, %rsi
	movq	%rsi, (%rcx)
	movl	%eax, (%r13,%r14,4)
	incq	%r14
	cmpq	%r14, %rbx
	jne	LBB0_5
## %bb.11:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdi
	callq	_OPENSSL_free
	movq	%r13, (%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movl	$1, %eax
	jmp	LBB0_14
LBB0_1:
	movq	_SSL_F_TLS1_SET_GROUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_BAD_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_12:
	movq	%r13, %rdi
	callq	_OPENSSL_free
	jmp	LBB0_13
LBB0_15:
	movq	_SSL_F_TLS1_SET_GROUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_SSLerr
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_TLS1_SET_GROUPS,4,2      ## @SSL_F_TLS1_SET_GROUPS
	.comm	_SSL_R_BAD_LENGTH,4,2           ## @SSL_R_BAD_LENGTH
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls1_set_groups                ; -- Begin function tls1_set_groups
	.p2align	2
_tls1_set_groups:                       ; @tls1_set_groups
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	xzr, xzr, [sp]
	cbz	x3, LBB0_8
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	lsl	x0, x3, #2
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_10
; %bb.2:
	mov	x23, x0
	mov	x24, #0
	mov	w25, #1
	mov	x26, sp
	add	x27, sp, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, x24, lsl #2]
	bl	_tls1_nid2group_id
	and	w9, w0, #0xff
	cmp	w9, #63
	b.hi	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #256
	csel	x8, x27, x26, lt
	cbz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x9, x25, x9
	ldr	x10, [x8]
	tst	x10, x9
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	orr	x9, x10, x9
	str	x9, [x8]
	str	w0, [x23, x24, lsl #2]
	add	x24, x24, #1
	cmp	x19, x24
	b.ne	LBB0_3
; %bb.7:
	ldr	x0, [x21]
	bl	_OPENSSL_free
	str	x23, [x21]
	str	x19, [x20]
	mov	w0, #1
	b	LBB0_13
LBB0_8:
Lloh0:
	adrp	x8, _SSL_F_TLS1_SET_GROUPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_F_TLS1_SET_GROUPS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SSL_R_BAD_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_R_BAD_LENGTH@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	x0, x23
	bl	_OPENSSL_free
	b	LBB0_12
LBB0_10:
Lloh5:
	adrp	x8, _SSL_F_TLS1_SET_GROUPS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSL_F_TLS1_SET_GROUPS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_11:
	ldr	w1, [x8]
	bl	_SSLerr
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_TLS1_SET_GROUPS,4,2      ; @SSL_F_TLS1_SET_GROUPS
	.comm	_SSL_R_BAD_LENGTH,4,2           ; @SSL_R_BAD_LENGTH
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
