	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_b_rand
_get_b_rand:                            ## @get_b_rand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	_get_b_rand.ph(%rip), %ecx
	cmpl	$31, %ecx
	jle	LBB0_1
## %bb.2:
	movl	$0, _get_b_rand.ph(%rip)
	xorl	%eax, %eax
	callq	_rand
	movl	%eax, _get_b_rand.randseq(%rip)
	movl	_get_b_rand.ph(%rip), %ecx
	jmp	LBB0_3
LBB0_1:
	movl	_get_b_rand.randseq(%rip), %eax
LBB0_3:
	leal	1(%rcx), %edx
	movl	%edx, _get_b_rand.ph(%rip)
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %edx
	andl	%eax, %edx
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @get_b_rand.ph
_get_b_rand.ph:
	.long	32                              ## 0x20

.zerofill __DATA,__bss,_get_b_rand.randseq,4,2 ## @get_b_rand.randseq
	.no_dead_strip	_get_b_rand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_b_rand
_get_b_rand:                            ; @get_b_rand
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	adrp	x19, _get_b_rand.ph@PAGE
	ldr	w8, [x19, _get_b_rand.ph@PAGEOFF]
	cmp	w8, #31
	b.le	LBB0_2
; %bb.1:
	str	wzr, [x19, _get_b_rand.ph@PAGEOFF]
	bl	_rand
	adrp	x8, _get_b_rand.randseq@PAGE
	str	w0, [x8, _get_b_rand.randseq@PAGEOFF]
	ldr	w8, [x19, _get_b_rand.ph@PAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x9, _get_b_rand.randseq@PAGE
Lloh1:
	ldr	w0, [x9, _get_b_rand.randseq@PAGEOFF]
LBB0_3:
	add	w9, w8, #1
	str	w9, [x19, _get_b_rand.ph@PAGEOFF]
	mov	w9, #1
	lsl	w8, w9, w8
	and	w0, w8, w0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @get_b_rand.ph
_get_b_rand.ph:
	.long	32                              ; 0x20

.zerofill __DATA,__bss,_get_b_rand.randseq,4,2 ; @get_b_rand.randseq
	.no_dead_strip	_get_b_rand
.subsections_via_symbols
