	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_subset
_get_subset:                            ## @get_subset
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	%r8d, -68(%rbp)                 ## 4-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movl	%edx, %r13d
	movq	%rdi, %rbx
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_7 Depth 2
	xorl	%edi, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_rand_in
	movl	%eax, %r14d
	cltq
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edi, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_rand_in
	cmpl	%r14d, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %r12d
	cltq
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edi, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_rand_in
	cmpl	%r14d, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpl	%r12d, %eax
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cltq
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, 8(%rdi)
	callq	_check_subset
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
	cmpl	-68(%rbp), %r15d                ## 4-byte Folded Reload
	setl	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_4
	jmp	LBB0_10
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_10:
	movzbl	-44(%rbp), %eax                 ## 1-byte Folded Reload
	andl	$1, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_subset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_subset
_get_subset:                            ; @get_subset
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cmp	w4, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	w26, #0
	mov	w27, #1
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;     Child Loop BB0_5 Depth 2
	mov	w0, #0
	mov	x1, x21
	mov	x2, x23
	bl	_rand_in
	mov	x24, x0
	ldr	w8, [x22, w0, sxtw #2]
	str	w8, [x20]
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #0
	mov	x1, x21
	mov	x2, x23
	bl	_rand_in
	cmp	w0, w24
	b.eq	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, x0
	ldr	w8, [x22, w0, sxtw #2]
	str	w8, [x20, #4]
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #0
	mov	x1, x21
	mov	x2, x23
	bl	_rand_in
	cmp	w0, w24
	b.eq	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	w0, w25
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22, w0, sxtw #2]
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_check_subset
	cbnz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w26, w26, #1
	cmp	w26, w19
	cset	w27, lt
	b.ne	LBB0_2
	b	LBB0_10
LBB0_9:
	mov	w27, #0
LBB0_10:
	and	w0, w27, #0x1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_subset
.subsections_via_symbols
