	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_ctos_ems         ## -- Begin function tls_construct_ctos_ems
	.p2align	4, 0x90
_tls_construct_ctos_ems:                ## @tls_construct_ctos_ems
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_SSL_OP_NO_EXTENDED_MASTER_SECRET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_EXT_RETURN_NOT_SENT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_TLSEXT_TYPE_extended_master_secret@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_EXT_RETURN_SENT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EMS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	movq	_EXT_RETURN_FAIL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_OP_NO_EXTENDED_MASTER_SECRET,4,2 ## @SSL_OP_NO_EXTENDED_MASTER_SECRET
	.comm	_EXT_RETURN_NOT_SENT,4,2        ## @EXT_RETURN_NOT_SENT
	.comm	_TLSEXT_TYPE_extended_master_secret,4,2 ## @TLSEXT_TYPE_extended_master_secret
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_CTOS_EMS,4,2 ## @SSL_F_TLS_CONSTRUCT_CTOS_EMS
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_FAIL,4,2            ## @EXT_RETURN_FAIL
	.comm	_EXT_RETURN_SENT,4,2            ## @EXT_RETURN_SENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_ctos_ems         ; -- Begin function tls_construct_ctos_ems
	.p2align	2
_tls_construct_ctos_ems:                ; @tls_construct_ctos_ems
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SSL_OP_NO_EXTENDED_MASTER_SECRET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL_OP_NO_EXTENDED_MASTER_SECRET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EXT_RETURN_NOT_SENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXT_RETURN_NOT_SENT@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	x20, x1
	mov	x19, x0
Lloh5:
	adrp	x8, _TLSEXT_TYPE_extended_master_secret@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TLSEXT_TYPE_extended_master_secret@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_5
; %bb.3:
	mov	x0, x20
	mov	w1, #0
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _EXT_RETURN_SENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXT_RETURN_SENT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CTOS_EMS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CTOS_EMS@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
Lloh19:
	adrp	x8, _EXT_RETURN_FAIL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EXT_RETURN_FAIL@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_OP_NO_EXTENDED_MASTER_SECRET,4,2 ; @SSL_OP_NO_EXTENDED_MASTER_SECRET
	.comm	_EXT_RETURN_NOT_SENT,4,2        ; @EXT_RETURN_NOT_SENT
	.comm	_TLSEXT_TYPE_extended_master_secret,4,2 ; @TLSEXT_TYPE_extended_master_secret
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_CTOS_EMS,4,2 ; @SSL_F_TLS_CONSTRUCT_CTOS_EMS
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_FAIL,4,2            ; @EXT_RETURN_FAIL
	.comm	_EXT_RETURN_SENT,4,2            ; @EXT_RETURN_SENT
.subsections_via_symbols
