	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function afalg_chk_platform
_afalg_chk_platform:                    ## @afalg_chk_platform
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$-1, -56(%rbp)
	movq	$-1, -64(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_uname
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_AFALG_F_AFALG_CHK_PLATFORM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AFALG_R_FAILED_TO_GET_PLATFORM_INFO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	-72(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_atoi
	movl	%eax, -64(%rbp,%rbx,4)
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_strtok
	cmpq	$1, %rbx
	ja	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_6
LBB0_8:
	movl	-64(%rbp), %r12d
	movl	-60(%rbp), %r15d
	movl	-56(%rbp), %r14d
	jmp	LBB0_9
LBB0_4:
	movl	$-1, %r14d
	movl	$-1, %r15d
	movl	$-1, %r12d
LBB0_9:
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_KERNEL_VERSION
	movq	%rax, %rbx
	movq	_K_MAJ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_K_MIN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_K_MIN2@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_KERNEL_VERSION
	cmpq	%rax, %rbx
	jge	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_ALG_ERR
	movq	_K_MAJ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_K_MIN1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	leaq	L_.str.2(%rip), %rdi
	callq	_ALG_ERR
	movq	_AFALG_F_AFALG_CHK_PLATFORM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_AFALGerr
	xorl	%ebx, %ebx
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_AF_ALG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_SEQPACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_socket
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.13:
	movl	%eax, %edi
	callq	_close
	movl	$1, %ebx
	jmp	LBB0_14
LBB0_12:
	movq	_AFALG_F_AFALG_CHK_PLATFORM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AFALG_R_SOCKET_CREATE_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_AFALGerr
	jmp	LBB0_14
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AFALG_F_AFALG_CHK_PLATFORM,4,2 ## @AFALG_F_AFALG_CHK_PLATFORM
	.comm	_AFALG_R_FAILED_TO_GET_PLATFORM_INFO,4,2 ## @AFALG_R_FAILED_TO_GET_PLATFORM_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.comm	_K_MAJ,4,2                      ## @K_MAJ
	.comm	_K_MIN1,4,2                     ## @K_MIN1
	.comm	_K_MIN2,4,2                     ## @K_MIN2
L_.str.1:                               ## @.str.1
	.asciz	"ASYNC AFALG not supported this kernel(%d.%d.%d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"ASYNC AFALG requires kernel version %d.%d.%d or later\n"

	.comm	_AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG,4,2 ## @AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG
	.comm	_AF_ALG,4,2                     ## @AF_ALG
	.comm	_SOCK_SEQPACKET,4,2             ## @SOCK_SEQPACKET
	.comm	_AFALG_R_SOCKET_CREATE_FAILED,4,2 ## @AFALG_R_SOCKET_CREATE_FAILED
	.no_dead_strip	_afalg_chk_platform
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function afalg_chk_platform
_afalg_chk_platform:                    ; @afalg_chk_platform
	.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	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	x8, #-1
	str	w8, [sp, #16]
	str	x8, [sp, #8]
	mov	x0, sp
	bl	_uname
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AFALG_F_AFALG_CHK_PLATFORM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AFALG_F_AFALG_CHK_PLATFORM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _AFALG_R_FAILED_TO_GET_PLATFORM_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AFALG_R_FAILED_TO_GET_PLATFORM_INFO@GOTPAGEOFF]
	b	LBB0_13
LBB0_2:
	ldr	x0, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strtok
	cbz	x0, LBB0_7
; %bb.3:
	bl	_atoi
	str	w0, [sp, #8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_strtok
	cbz	x0, LBB0_6
; %bb.4:
	bl	_atoi
	str	w0, [sp, #12]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_strtok
	cbz	x0, LBB0_6
; %bb.5:
	bl	_atoi
	str	w0, [sp, #16]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_strtok
LBB0_6:
	ldp	w21, w20, [sp, #8]
	ldr	w19, [sp, #16]
	b	LBB0_8
LBB0_7:
	mov	w19, #-1
	mov	w20, #-1
	mov	w21, #-1
LBB0_8:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_KERNEL_VERSION
	mov	x22, x0
Lloh16:
	adrp	x23, _K_MAJ@GOTPAGE
Lloh17:
	ldr	x23, [x23, _K_MAJ@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh18:
	adrp	x24, _K_MIN1@GOTPAGE
Lloh19:
	ldr	x24, [x24, _K_MIN1@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh20:
	adrp	x25, _K_MIN2@GOTPAGE
Lloh21:
	ldr	x25, [x25, _K_MIN2@GOTPAGEOFF]
	ldr	w2, [x25]
	bl	_KERNEL_VERSION
	cmp	x22, x0
	b.ge	LBB0_10
; %bb.9:
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_ALG_ERR
	ldr	w1, [x23]
	ldr	w2, [x24]
	ldr	w3, [x25]
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ALG_ERR
Lloh26:
	adrp	x8, _AFALG_F_AFALG_CHK_PLATFORM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AFALG_F_AFALG_CHK_PLATFORM@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x8, _AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh31:
	adrp	x8, _AF_ALG@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AF_ALG@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x8, _SOCK_SEQPACKET@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SOCK_SEQPACKET@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.11:
	bl	_close
	mov	w0, #1
	b	LBB0_14
LBB0_12:
Lloh37:
	adrp	x8, _AFALG_F_AFALG_CHK_PLATFORM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AFALG_F_AFALG_CHK_PLATFORM@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _AFALG_R_SOCKET_CREATE_FAILED@GOTPAGE
Lloh41:
	ldr	x8, [x8, _AFALG_R_SOCKET_CREATE_FAILED@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	bl	_AFALGerr
	mov	w0, #0
LBB0_14:
	ldr	x8, [sp, #24]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	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
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_AFALG_F_AFALG_CHK_PLATFORM,4,2 ; @AFALG_F_AFALG_CHK_PLATFORM
	.comm	_AFALG_R_FAILED_TO_GET_PLATFORM_INFO,4,2 ; @AFALG_R_FAILED_TO_GET_PLATFORM_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.comm	_K_MAJ,4,2                      ; @K_MAJ
	.comm	_K_MIN1,4,2                     ; @K_MIN1
	.comm	_K_MIN2,4,2                     ; @K_MIN2
l_.str.1:                               ; @.str.1
	.asciz	"ASYNC AFALG not supported this kernel(%d.%d.%d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"ASYNC AFALG requires kernel version %d.%d.%d or later\n"

	.comm	_AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG,4,2 ; @AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG
	.comm	_AF_ALG,4,2                     ; @AF_ALG
	.comm	_SOCK_SEQPACKET,4,2             ; @SOCK_SEQPACKET
	.comm	_AFALG_R_SOCKET_CREATE_FAILED,4,2 ; @AFALG_R_SOCKET_CREATE_FAILED
	.no_dead_strip	_afalg_chk_platform
.subsections_via_symbols
