	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function final_ems
_final_ems:                             ## @final_ems
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %eax
	cmpl	$0, 24(%rdi)
	je	LBB0_1
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, 16(%rdi)
	je	LBB0_4
## %bb.2:
	movq	_TLS1_FLAGS_RECEIVED_EXTMS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rdi)
	setne	%cl
	movq	(%rdi), %rdx
	movq	_SSL_SESS_FLAG_EXTMS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rdx)
	sete	%dl
	xorb	%cl, %dl
	jne	LBB0_4
## %bb.3:
	movq	_SSL_AD_HANDSHAKE_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_FINAL_EMS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_INCONSISTENT_EXTMS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_SSLfatal
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS1_FLAGS_RECEIVED_EXTMS,4,2  ## @TLS1_FLAGS_RECEIVED_EXTMS
	.comm	_SSL_SESS_FLAG_EXTMS,4,2        ## @SSL_SESS_FLAG_EXTMS
	.comm	_SSL_AD_HANDSHAKE_FAILURE,4,2   ## @SSL_AD_HANDSHAKE_FAILURE
	.comm	_SSL_F_FINAL_EMS,4,2            ## @SSL_F_FINAL_EMS
	.comm	_SSL_R_INCONSISTENT_EXTMS,4,2   ## @SSL_R_INCONSISTENT_EXTMS
	.no_dead_strip	_final_ems
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function final_ems
_final_ems:                             ; @final_ems
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_2
LBB0_1:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_1
; %bb.3:
Lloh0:
	adrp	x8, _TLS1_FLAGS_RECEIVED_EXTMS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLS1_FLAGS_RECEIVED_EXTMS@GOTPAGEOFF]
	ldr	w9, [x0, #8]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	cset	w8, ne
	ldr	x9, [x0]
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _SSL_SESS_FLAG_EXTMS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SSL_SESS_FLAG_EXTMS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w9, eq
	eor	w8, w8, w9
	tbnz	w8, #0, LBB0_1
; %bb.4:
Lloh6:
	adrp	x8, _SSL_AD_HANDSHAKE_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_AD_HANDSHAKE_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _SSL_F_FINAL_EMS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_F_FINAL_EMS@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _SSL_R_INCONSISTENT_EXTMS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_R_INCONSISTENT_EXTMS@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	bl	_SSLfatal
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS1_FLAGS_RECEIVED_EXTMS,4,2  ; @TLS1_FLAGS_RECEIVED_EXTMS
	.comm	_SSL_SESS_FLAG_EXTMS,4,2        ; @SSL_SESS_FLAG_EXTMS
	.comm	_SSL_AD_HANDSHAKE_FAILURE,4,2   ; @SSL_AD_HANDSHAKE_FAILURE
	.comm	_SSL_F_FINAL_EMS,4,2            ; @SSL_F_FINAL_EMS
	.comm	_SSL_R_INCONSISTENT_EXTMS,4,2   ; @SSL_R_INCONSISTENT_EXTMS
	.no_dead_strip	_final_ems
.subsections_via_symbols
