	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_generate_master_secret    ## -- Begin function ssl3_generate_master_secret
	.p2align	4, 0x90
_ssl3_generate_master_secret:           ## @ssl3_generate_master_secret
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movl	4(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	testq	%rax, %rax
	jle	LBB0_2
## %bb.3:
	movb	$1, -49(%rbp)                   ## 1-byte Folded Spill
	leaq	_ssl3_generate_master_secret.salt(%rip), %rcx
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%r15, %rbx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	(%rcx), %r15
	movq	%r15, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	movq	%rbx, %r15
	jle	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r15), %rsi
	movq	_SSL3_RANDOM_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r15), %rsi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	-56(%rbp), %rdx
	callq	_EVP_DigestFinal_ex
	testq	%rax, %rax
	jle	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	testq	%rax, %rax
	jle	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-56(%rbp), %edx
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	leaq	-56(%rbp), %rdx
	callq	_EVP_DigestFinal_ex
	testq	%rax, %rax
	jle	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-56(%rbp), %eax
	addq	%rax, %r13
	cmpq	$2, %r12
	setb	-49(%rbp)                       ## 1-byte Folded Spill
	je	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	%rax, %rbx
	movq	(%r15), %rax
	movl	4(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addq	$8, %rcx
	incq	%r12
	testq	%rax, %rax
	jg	LBB0_6
	jmp	LBB0_16
LBB0_4:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_SSL3_GENERATE_MASTER_SECRET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_SSLfatal
	jmp	LBB0_21
LBB0_2:
	movb	$1, -49(%rbp)                   ## 1-byte Folded Spill
	xorl	%r13d, %r13d
LBB0_16:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_SSL3_GENERATE_MASTER_SECRET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_SSLfatal
	xorl	%r12d, %r12d
LBB0_19:
	movq	%r14, %rdi
	callq	_EVP_MD_CTX_free
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_OPENSSL_cleanse
	testb	$1, -49(%rbp)                   ## 1-byte Folded Reload
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_21
## %bb.20:
	movq	%r13, (%rax)
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %r15
	jmp	LBB0_16
LBB0_18:
	movl	$1, %r12d
	jmp	LBB0_19
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @ssl3_generate_master_secret.salt
_ssl3_generate_master_secret.salt:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"A"

L_.str.1:                               ## @.str.1
	.asciz	"BB"

L_.str.2:                               ## @.str.2
	.asciz	"CCC"

	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_SSL3_GENERATE_MASTER_SECRET,4,2 ## @SSL_F_SSL3_GENERATE_MASTER_SECRET
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_SSL3_RANDOM_SIZE,4,2           ## @SSL3_RANDOM_SIZE
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_generate_master_secret    ; -- Begin function ssl3_generate_master_secret
	.p2align	2
_ssl3_generate_master_secret:           ; @ssl3_generate_master_secret
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x19, x4
	stur	x3, [x29, #-104]                ; 8-byte Folded Spill
	mov	x25, x2
	mov	x26, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	bl	_EVP_MD_CTX_new
	cbz	x0, LBB0_14
; %bb.1:
	mov	x23, x0
	stp	x19, x20, [x29, #-120]          ; 16-byte Folded Spill
	ldr	x8, [x22]
	ldr	w1, [x8, #4]
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	cmp	x0, #1
	b.lt	LBB0_15
; %bb.2:
	mov	x28, #0
	mov	x20, #0
	mov	w19, #1
Lloh8:
	adrp	x24, _SSL3_RANDOM_SIZE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _SSL3_RANDOM_SIZE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
Lloh10:
	adrp	x8, _ssl3_generate_master_secret.salt@PAGE
Lloh11:
	add	x8, x8, _ssl3_generate_master_secret.salt@PAGEOFF
	ldr	x27, [x8, x20, lsl #3]
	mov	x0, x27
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x27
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x25
	ldur	x2, [x29, #-104]                ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x22, #8]
	ldr	w2, [x24]
	mov	x0, x23
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x22, #16]
	ldr	w2, [x24]
	mov	x0, x23
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x2, x29, #92
	mov	x0, x23
	mov	x1, x21
	bl	_EVP_DigestFinal_ex
	cmp	x0, #1
	b.lt	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	cmp	x0, #1
	b.lt	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x25
	ldur	x2, [x29, #-104]                ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldur	w2, [x29, #-92]
	mov	x0, x23
	mov	x1, x21
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	sub	x2, x29, #92
	mov	x0, x23
	mov	x1, x26
	bl	_EVP_DigestFinal_ex
	cmp	x0, #0
	b.le	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldur	w8, [x29, #-92]
	add	x28, x28, x8
	cmp	x20, #2
	cset	w19, lo
	b.eq	LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, x8
	ldr	x8, [x22]
	ldr	w1, [x8, #4]
	mov	x0, x23
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	add	x20, x20, #1
	cmp	x0, #1
	b.ge	LBB0_3
	b	LBB0_16
LBB0_14:
Lloh12:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _SSL_F_SSL3_GENERATE_MASTER_SECRET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_F_SSL3_GENERATE_MASTER_SECRET@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x22
	bl	_SSLfatal
	mov	w22, #0
	b	LBB0_19
LBB0_15:
	mov	x28, #0
	mov	w19, #1
LBB0_16:
Lloh21:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _SSL_F_SSL3_GENERATE_MASTER_SECRET@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SSL_F_SSL3_GENERATE_MASTER_SECRET@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
	mov	x0, x22
	bl	_SSLfatal
	mov	w22, #0
LBB0_17:
	mov	x0, x23
	bl	_EVP_MD_CTX_free
	mov	x0, x21
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_OPENSSL_cleanse
	tbnz	w19, #0, LBB0_19
; %bb.18:
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	str	x28, [x8]
LBB0_19:
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.20:
	mov	x0, x22
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	mov	w22, #1
	b	LBB0_17
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @ssl3_generate_master_secret.salt
_ssl3_generate_master_secret.salt:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"A"

l_.str.1:                               ; @.str.1
	.asciz	"BB"

l_.str.2:                               ; @.str.2
	.asciz	"CCC"

	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_SSL3_GENERATE_MASTER_SECRET,4,2 ; @SSL_F_SSL3_GENERATE_MASTER_SECRET
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_SSL3_RANDOM_SIZE,4,2           ; @SSL3_RANDOM_SIZE
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
.subsections_via_symbols
