	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OPENSSL_cpuid_setup            ## -- Begin function OPENSSL_cpuid_setup
	.p2align	4, 0x90
_OPENSSL_cpuid_setup:                   ## @OPENSSL_cpuid_setup
	.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	_OPENSSL_s390xcap_P@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.1:
	xorl	%r14d, %r14d
	movl	%r14d, %edi
	callq	_S390X_CAPBIT
	movq	(%r15), %rcx
	orl	%eax, (%rcx)
	leaq	-72(%rbp), %rbx
	movl	$8, %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_memset
	movq	_ill_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	%rbx, %rdi
	callq	_sigfillset
	movq	_SIGILL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_sigdelset
	movq	_SIGFPE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_sigdelset
	movq	_SIGTRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigdelset
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_sigprocmask
	movl	(%r14), %edi
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_sigaction
	movl	(%r13), %edi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_sigaction
	movq	_ill_jmp@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_sigsetjmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_OPENSSL_s390x_facilities
LBB0_3:
	movq	(%r15), %rax
	movl	8(%rax), %r14d
	movq	_S390X_VX@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_S390X_CAPBIT
	testl	%r14d, %eax
	je	LBB0_6
## %bb.4:
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_sigsetjmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	movl	(%r12), %edi
	callq	_S390X_CAPBIT
	movl	%eax, %r14d
	movq	_S390X_VXD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_S390X_CAPBIT
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movq	_S390X_VXE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_S390X_CAPBIT
	orl	%ebx, %eax
	notl	%eax
	movq	(%r15), %rcx
	andl	%eax, 8(%rcx)
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_OPENSSL_vx_probe
LBB0_7:
	movq	_SIGILL@GOTPCREL(%rip), %r14
	movq	_SIG_SETMASK@GOTPCREL(%rip), %r15
	movl	(%r13), %edi
	xorl	%eax, %eax
	movl	%eax, %ebx
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_sigaction
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_sigaction
	movl	(%r15), %edi
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_sigprocmask
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENSSL_s390xcap_P,8,3         ## @OPENSSL_s390xcap_P
	.comm	_ill_handler,4,2                ## @ill_handler
	.comm	_SIGILL,4,2                     ## @SIGILL
	.comm	_SIGFPE,4,2                     ## @SIGFPE
	.comm	_SIGTRAP,4,2                    ## @SIGTRAP
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	_ill_jmp,4,2                    ## @ill_jmp
	.comm	_S390X_VX,4,2                   ## @S390X_VX
	.comm	_S390X_VXD,4,2                  ## @S390X_VXD
	.comm	_S390X_VXE,4,2                  ## @S390X_VXE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OPENSSL_cpuid_setup            ; -- Begin function OPENSSL_cpuid_setup
	.p2align	2
_OPENSSL_cpuid_setup:                   ; @OPENSSL_cpuid_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
Lloh0:
	adrp	x21, _OPENSSL_s390xcap_P@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OPENSSL_s390xcap_P@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w8, [x8]
	cbnz	w8, LBB0_8
; %bb.1:
	mov	w19, #0
	mov	w0, #0
	bl	_S390X_CAPBIT
	ldr	x8, [x21]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	add	x20, sp, #16
	mov	w2, #8
	mov	x0, x20
	mov	x1, x19
	bl	_memset
Lloh2:
	adrp	x8, _ill_handler@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ill_handler@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	mov	x0, x20
	bl	_sigfillset
Lloh5:
	adrp	x22, _SIGILL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SIGILL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_sigdelset
Lloh7:
	adrp	x24, _SIGFPE@GOTPAGE
Lloh8:
	ldr	x24, [x24, _SIGFPE@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_sigdelset
Lloh9:
	adrp	x8, _SIGTRAP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIGTRAP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sigdelset
Lloh12:
	adrp	x23, _SIG_SETMASK@GOTPAGE
Lloh13:
	ldr	x23, [x23, _SIG_SETMASK@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x2, sp, #28
	mov	x1, x20
	bl	_sigprocmask
	ldr	w0, [x22]
	add	x2, sp, #8
	mov	x1, x20
	bl	_sigaction
	ldr	w0, [x24]
	mov	x2, sp
	mov	x1, x20
	bl	_sigaction
Lloh14:
	adrp	x19, _ill_jmp@GOTPAGE
Lloh15:
	ldr	x19, [x19, _ill_jmp@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #1
	bl	_sigsetjmp
	cbnz	x0, LBB0_3
; %bb.2:
	bl	_OPENSSL_s390x_facilities
LBB0_3:
	ldr	x8, [x21]
	ldr	w25, [x8, #8]
Lloh16:
	adrp	x20, _S390X_VX@GOTPAGE
Lloh17:
	ldr	x20, [x20, _S390X_VX@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_S390X_CAPBIT
	tst	w0, w25
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_sigsetjmp
	cbz	x0, LBB0_6
LBB0_5:
	ldr	w0, [x20]
	bl	_S390X_CAPBIT
	mov	x19, x0
Lloh18:
	adrp	x8, _S390X_VXD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _S390X_VXD@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_S390X_CAPBIT
	orr	w19, w0, w19
Lloh21:
	adrp	x8, _S390X_VXE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _S390X_VXE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_S390X_CAPBIT
	orr	w8, w19, w0
	ldr	x9, [x21]
	ldr	w10, [x9, #8]
	bic	w8, w10, w8
	str	w8, [x9, #8]
	b	LBB0_7
LBB0_6:
	bl	_OPENSSL_vx_probe
LBB0_7:
	ldr	w0, [x24]
	mov	x19, #0
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	ldr	w0, [x22]
	add	x1, sp, #8
	mov	x2, x19
	bl	_sigaction
	ldr	w0, [x23]
	add	x1, sp, #28
	mov	x2, x19
	bl	_sigprocmask
LBB0_8:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENSSL_s390xcap_P,8,3         ; @OPENSSL_s390xcap_P
	.comm	_ill_handler,4,2                ; @ill_handler
	.comm	_SIGILL,4,2                     ; @SIGILL
	.comm	_SIGFPE,4,2                     ; @SIGFPE
	.comm	_SIGTRAP,4,2                    ; @SIGTRAP
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	_ill_jmp,4,2                    ; @ill_jmp
	.comm	_S390X_VX,4,2                   ; @S390X_VX
	.comm	_S390X_VXD,4,2                  ; @S390X_VXD
	.comm	_S390X_VXE,4,2                  ; @S390X_VXE
.subsections_via_symbols
