	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bad_buf_count
_bad_buf_count:                         ## @bad_buf_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movl	%esi, %eax
	shlq	$2, %rax
	movq	_EFX_BUF_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movabsq	$12884901888, %rdx              ## imm = 0x300000000
	testq	%rdx, %rax
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	leal	-1(%rdi), %ecx
	testl	%ecx, %edi
	setne	%cl
	cmpl	%edi, %eax
	setb	%al
	orb	%cl, %al
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_BUF_SIZE,4,2               ## @EFX_BUF_SIZE
	.no_dead_strip	_bad_buf_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bad_buf_count
_bad_buf_count:                         ; @bad_buf_count
	.cfi_startproc
; %bb.0:
	mov	w8, w1
	lsl	x8, x8, #2
Lloh0:
	adrp	x9, _EFX_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EFX_BUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	udiv	x8, x8, x9
	sub	w9, w0, #1
	tst	w0, w9
	ccmp	w8, w0, #0, eq
	cset	w0, lo
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_BUF_SIZE,4,2               ; @EFX_BUF_SIZE
	.no_dead_strip	_bad_buf_count
.subsections_via_symbols
