	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shouldfail
_shouldfail:                            ## @shouldfail
	.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	$344, %rsp                      ## imm = 0x158
	.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)
	xorl	%eax, %eax
	callq	_random
	movslq	%eax, %r12
	imulq	$1374389535, %r12, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	imull	$100, %eax, %eax
	subl	%eax, %r12d
	movq	_md_fail_percent@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_md_tracefd@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	jle	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	cmpl	%r15d, %r12d
	setl	%al
	movq	_md_count@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movl	%r12d, (%rsp)
	leal	(%rax,%rax), %ecx
	addl	$43, %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-128(%rbp), %r14
	movq	%r14, %rdi
	movl	$80, %esi
	movl	%r15d, %r9d
	callq	_BIO_snprintf
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	(%r13), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_write
	cmpl	%ebx, %eax
	jne	LBB0_2
## %bb.3:
	cmpl	%r15d, %r12d
	jge	LBB0_5
LBB0_4:
	leaq	-368(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_OSSL_NELEM
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_backtrace
	movq	(%r13), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_backtrace_symbols_fd
LBB0_5:
	movq	_md_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	decq	%rcx
	movq	%rcx, (%rax)
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_parseit
LBB0_8:
	xorl	%eax, %eax
	cmpl	%r15d, %r12d
	setl	%cl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-48(%rbp), %rdx
	jne	LBB0_10
## %bb.9:
	movb	%cl, %al
	addq	$344, %rsp                      ## imm = 0x158
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	cmpl	%r15d, %r12d
	jl	LBB0_4
	jmp	LBB0_5
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_md_fail_percent,4,2            ## @md_fail_percent
	.comm	_md_tracefd,8,3                 ## @md_tracefd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%c C%ld %%%d R%d\n"

	.comm	_md_count,8,3                   ## @md_count
L_.str.1:                               ## @.str.1
	.asciz	"shouldfail write failed"

	.no_dead_strip	_shouldfail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shouldfail
_shouldfail:                            ; @shouldfail
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #400
	.cfi_def_cfa_offset 400
	stp	x24, x23, [sp, #336]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #352]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #368]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #384]            ; 16-byte Folded Spill
	add	x29, sp, #384
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_random
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	mov	w9, #100
	msub	w19, w8, w9, w0
Lloh3:
	adrp	x8, _md_fail_percent@GOTPAGE
Lloh4:
	ldr	x8, [x8, _md_fail_percent@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x23, _md_tracefd@GOTPAGE
Lloh7:
	ldr	x23, [x23, _md_tracefd@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh8:
	adrp	x22, _md_count@GOTPAGE
Lloh9:
	ldr	x22, [x22, _md_count@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x4, [x22]
	mov	w8, #43
	mov	w9, #45
	cmp	w19, w20
	csel	w3, w9, w8, lt
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #136
	mov	w1, #80
	mov	x5, x20
	mov	x6, x19
	bl	_BIO_snprintf
	sub	x0, x29, #136
	bl	_strlen
	mov	x21, x0
	ldr	x0, [x23]
	sub	x1, x29, #136
	mov	x2, x21
	bl	_write
	cmp	w0, w21
	b.ne	LBB0_9
; %bb.2:
	cmp	w19, w20
	b.ge	LBB0_4
LBB0_3:
	add	x0, sp, #8
	bl	_OSSL_NELEM
	mov	x1, x0
	add	x0, sp, #8
	bl	_backtrace
	mov	x1, x0
	ldr	x2, [x23]
	add	x0, sp, #8
	bl	_backtrace_symbols_fd
LBB0_4:
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.5:
	subs	x8, x8, #1
	str	x8, [x22]
	b.ne	LBB0_7
; %bb.6:
	bl	_parseit
LBB0_7:
	cmp	w19, w20
	cset	w0, lt
	ldur	x8, [x29, #-56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.8:
	ldp	x29, x30, [sp, #384]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #368]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #352]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #336]            ; 16-byte Folded Reload
	add	sp, sp, #400
	ret
LBB0_9:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	cmp	w19, w20
	b.lt	LBB0_3
	b	LBB0_4
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_md_fail_percent,4,2            ; @md_fail_percent
	.comm	_md_tracefd,8,3                 ; @md_tracefd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%c C%ld %%%d R%d\n"

	.comm	_md_count,8,3                   ; @md_count
l_.str.1:                               ; @.str.1
	.asciz	"shouldfail write failed"

	.no_dead_strip	_shouldfail
.subsections_via_symbols
