	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_params
_check_params:                          ## @check_params
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ifname@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movq	_ofname@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.5:
	movq	_crypt_key@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	callq	_strlen
	cltq
	movq	_BCRYPT_MAX_KEYLEN@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jge	LBB0_9
## %bb.8:
	movq	(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
LBB0_20:
	xorl	%eax, %eax
	callq	_ERR
	jmp	LBB0_21
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
LBB0_2:
	xorl	%eax, %eax
	callq	_ERR
LBB0_21:
	movl	$-1, %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_magic@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strlen
	movq	_ENC_MAGIC_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	decl	%esi
	cmpl	%esi, %eax
	jne	LBB0_10
## %bb.11:
	movq	_do_decrypt@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	$0, (%rax)
	jne	LBB0_22
## %bb.12:
	movq	_product@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.14:
	movq	_version@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_15
## %bb.16:
	callq	_strlen
	movq	_ENC_PRODUCT_LEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_17
## %bb.18:
	movq	(%r14), %rdi
	callq	_strlen
	movq	_ENC_VERSION_LEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_22
## %bb.19:
	movq	(%r14), %rsi
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_20
LBB0_10:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_ERR
	jmp	LBB0_21
LBB0_13:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_2
LBB0_15:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_2
LBB0_17:
	movq	(%r15), %rsi
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_ifname,8,3                     ## @ifname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no input file specified"

	.comm	_ofname,8,3                     ## @ofname
L_.str.1:                               ## @.str.1
	.asciz	"no output file specified"

	.comm	_crypt_key,8,3                  ## @crypt_key
L_.str.2:                               ## @.str.2
	.asciz	"no key specified"

	.comm	_BCRYPT_MAX_KEYLEN,8,3          ## @BCRYPT_MAX_KEYLEN
L_.str.3:                               ## @.str.3
	.asciz	"key '%s' is too long"

	.comm	_magic,8,3                      ## @magic
	.comm	_ENC_MAGIC_LEN,4,2              ## @ENC_MAGIC_LEN
L_.str.4:                               ## @.str.4
	.asciz	"length of magic must be %d"

	.comm	_do_decrypt,4,2                 ## @do_decrypt
	.comm	_product,8,3                    ## @product
L_.str.5:                               ## @.str.5
	.asciz	"no product specified"

	.comm	_version,8,3                    ## @version
L_.str.6:                               ## @.str.6
	.asciz	"no version specified"

	.comm	_ENC_PRODUCT_LEN,4,2            ## @ENC_PRODUCT_LEN
L_.str.7:                               ## @.str.7
	.asciz	"product name '%s' is too long"

	.comm	_ENC_VERSION_LEN,4,2            ## @ENC_VERSION_LEN
L_.str.8:                               ## @.str.8
	.asciz	"version '%s' is too long"

	.no_dead_strip	_check_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_params
_check_params:                          ; @check_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _ifname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifname@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _ofname@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ofname@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.2:
Lloh6:
	adrp	x19, _crypt_key@GOTPAGE
Lloh7:
	ldr	x19, [x19, _crypt_key@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_7
; %bb.3:
	bl	_strlen
Lloh8:
	adrp	x8, _BCRYPT_MAX_KEYLEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BCRYPT_MAX_KEYLEN@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, w0, sxtw
	b.ge	LBB0_8
; %bb.4:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_5:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_12
LBB0_6:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_7:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_8:
Lloh19:
	adrp	x8, _magic@GOTPAGE
Lloh20:
	ldr	x8, [x8, _magic@GOTPAGEOFF]
Lloh21:
	ldr	x0, [x8]
	bl	_strlen
Lloh22:
	adrp	x8, _ENC_MAGIC_LEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENC_MAGIC_LEN@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	sub	w8, w8, #1
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.9:
Lloh25:
	adrp	x8, _do_decrypt@GOTPAGE
Lloh26:
	ldr	x8, [x8, _do_decrypt@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cbz	w8, LBB0_14
LBB0_10:
	mov	w0, #0
	b	LBB0_13
LBB0_11:
	str	x8, [sp]
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_12:
	bl	_ERR
	mov	w0, #-1
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_14:
Lloh30:
	adrp	x20, _product@GOTPAGE
Lloh31:
	ldr	x20, [x20, _product@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_19
; %bb.15:
Lloh32:
	adrp	x19, _version@GOTPAGE
Lloh33:
	ldr	x19, [x19, _version@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_20
; %bb.16:
	bl	_strlen
Lloh34:
	adrp	x8, _ENC_PRODUCT_LEN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENC_PRODUCT_LEN@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_21
; %bb.17:
	ldr	x0, [x19]
	bl	_strlen
Lloh37:
	adrp	x8, _ENC_VERSION_LEN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENC_VERSION_LEN@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w0, w8
	b.lt	LBB0_10
; %bb.18:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh40:
	adrp	x0, l_.str.8@PAGE
Lloh41:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_12
LBB0_19:
Lloh42:
	adrp	x0, l_.str.5@PAGE
Lloh43:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_20:
Lloh44:
	adrp	x0, l_.str.6@PAGE
Lloh45:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_21:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh46:
	adrp	x0, l_.str.7@PAGE
Lloh47:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_ifname,8,3                     ; @ifname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no input file specified"

	.comm	_ofname,8,3                     ; @ofname
l_.str.1:                               ; @.str.1
	.asciz	"no output file specified"

	.comm	_crypt_key,8,3                  ; @crypt_key
l_.str.2:                               ; @.str.2
	.asciz	"no key specified"

	.comm	_BCRYPT_MAX_KEYLEN,8,3          ; @BCRYPT_MAX_KEYLEN
l_.str.3:                               ; @.str.3
	.asciz	"key '%s' is too long"

	.comm	_magic,8,3                      ; @magic
	.comm	_ENC_MAGIC_LEN,4,2              ; @ENC_MAGIC_LEN
l_.str.4:                               ; @.str.4
	.asciz	"length of magic must be %d"

	.comm	_do_decrypt,4,2                 ; @do_decrypt
	.comm	_product,8,3                    ; @product
l_.str.5:                               ; @.str.5
	.asciz	"no product specified"

	.comm	_version,8,3                    ; @version
l_.str.6:                               ; @.str.6
	.asciz	"no version specified"

	.comm	_ENC_PRODUCT_LEN,4,2            ; @ENC_PRODUCT_LEN
l_.str.7:                               ; @.str.7
	.asciz	"product name '%s' is too long"

	.comm	_ENC_VERSION_LEN,4,2            ; @ENC_VERSION_LEN
l_.str.8:                               ; @.str.8
	.asciz	"version '%s' is too long"

	.no_dead_strip	_check_params
.subsections_via_symbols
