	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function monte_carlo_DES_encrypt
_monte_carlo_DES_encrypt:               ## @monte_carlo_DES_encrypt
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	callq	_hextobin
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_hextobin
	leaq	L_.str.2(%rip), %rsi
	leaq	-72(%rbp), %rdi
	callq	_hextobin
	leaq	L_.str.3(%rip), %rsi
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	callq	_hextobin
	leaq	L_.str.4(%rip), %rsi
	leaq	-88(%rbp), %rdi
	callq	_hextobin
	xorl	%eax, %eax
	leaq	-128(%rbp), %r14
	leaq	-120(%rbp), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	leaq	-112(%rbp), %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_memcpy
	leaq	-104(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	leaq	-96(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	%r14, %rdi
	leaq	-112(%rbp), %rsi
	movl	$24, %edx
	callq	*8(%rbx)
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=2
	leaq	-64(%rbp), %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	%r13, %rsi
	movl	$8, %edx
	callq	_xor_buf
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=2
	incl	%r12d
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	$8, %ecx
	callq	*(%rbx)
	leaq	-72(%rbp), %rdi
	cmpl	$9997, %r12d                    ## imm = 0x270D
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$9998, %r12d                    ## imm = 0x270E
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$9999, %r12d                    ## imm = 0x270F
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$8, %edx
	callq	_xor_buf
	movl	$46, %edi
	callq	_putchar
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	-124(%rbp), %eax                ## 4-byte Reload
	incl	%eax
	cmpl	$400, %eax                      ## imm = 0x190
	jne	LBB0_1
## %bb.6:
	movl	$32, %edi
	callq	_putchar
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	leaq	L_.str.7(%rip), %rdi
	leaq	-80(%rbp), %rsi
	leaq	-88(%rbp), %rdx
	movl	$8, %ecx
	callq	_check_equals
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.11:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"9ec2372c86379df4"

L_.str.1:                               ## @.str.1
	.asciz	"ad7ac4464f73805d"

L_.str.2:                               ## @.str.2
	.asciz	"20c4f87564527c91"

L_.str.3:                               ## @.str.3
	.asciz	"b624d6bd41783ab1"

L_.str.4:                               ## @.str.4
	.asciz	"eafd97b190b167fe"

	.comm	_stdout,4,2                     ## @stdout
L_.str.7:                               ## @.str.7
	.asciz	"MC DES encrypt"

	.no_dead_strip	_monte_carlo_DES_encrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function monte_carlo_DES_encrypt
_monte_carlo_DES_encrypt:               ; @monte_carlo_DES_encrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #80
	bl	_hextobin
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #72
	bl	_hextobin
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #64
	bl	_hextobin
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #56
	bl	_hextobin
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #48
	bl	_hextobin
	mov	w22, #0
	add	x8, sp, #24
	add	x20, x8, #8
	add	x21, x8, #16
	mov	w24, #9997
	mov	w25, #9998
	mov	w26, #9999
Lloh13:
	adrp	x23, _stdout@GOTPAGE
Lloh14:
	ldr	x23, [x23, _stdout@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #80
	add	x1, sp, #56
	mov	w2, #8
	bl	_xor_buf
	mov	w0, #46
	bl	_putchar
	ldr	w0, [x23]
	bl	_fflush
	add	w22, w22, #1
	cmp	w22, #400
	b.eq	LBB0_10
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	add	x0, sp, #24
	add	x1, sp, #80
	mov	w2, #8
	bl	_memcpy
	add	x1, sp, #72
	mov	x0, x20
	mov	w2, #8
	bl	_memcpy
	add	x1, sp, #64
	mov	x0, x21
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x19, #8]
	add	x0, sp, #12
	add	x1, sp, #24
	mov	w2, #24
	blr	x8
	mov	w27, #0
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x0, sp, #72
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x1, sp, #56
	mov	w2, #8
	bl	_xor_buf
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	w27, w27, #1
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x19]
	add	x0, sp, #12
	add	x1, sp, #16
	add	x2, sp, #56
	mov	w3, #8
	blr	x8
	cmp	w27, w24
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	w27, w25
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	w27, w26
	b.ne	LBB0_5
	b	LBB0_1
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x0, sp, #64
	b	LBB0_4
LBB0_10:
	mov	w0, #32
	bl	_putchar
	ldr	w0, [x23]
	bl	_fflush
Lloh15:
	adrp	x0, l_.str.7@PAGE
Lloh16:
	add	x0, x0, l_.str.7@PAGEOFF
	add	x1, sp, #56
	add	x2, sp, #48
	mov	w3, #8
	bl	_check_equals
	ldr	x8, [sp, #88]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"9ec2372c86379df4"

l_.str.1:                               ; @.str.1
	.asciz	"ad7ac4464f73805d"

l_.str.2:                               ; @.str.2
	.asciz	"20c4f87564527c91"

l_.str.3:                               ; @.str.3
	.asciz	"b624d6bd41783ab1"

l_.str.4:                               ; @.str.4
	.asciz	"eafd97b190b167fe"

	.comm	_stdout,4,2                     ; @stdout
l_.str.7:                               ; @.str.7
	.asciz	"MC DES encrypt"

	.no_dead_strip	_monte_carlo_DES_encrypt
.subsections_via_symbols
