	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_ud
_find_ud:                               ## @find_ud
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %r15d
	testl	%r15d, %r15d
	js	LBB0_12
## %bb.1:
	movq	%rdi, %r14
	movq	%r15, %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1(%r12), %rax
	testq	%r12, %r12
	movq	%rax, %r12
	jle	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%r14), %rax
	movq	(%rax,%r12,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_compute_local_ud
	movl	$0, 4(%rbx)
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_5
LBB0_6:
	testl	%r15d, %r15d
	jle	LBB0_12
## %bb.7:
	incl	%r15d
	movl	$1, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r12
	cmpq	%r15, %r12
	je	LBB0_12
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	(%r14), %rax
	movq	(%rax,%r12,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_JT
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_JF
	orl	(%rax), %r13d
	orl	4(%rbx), %r13d
	movl	%r13d, 4(%rbx)
	movl	12(%rbx), %eax
	notl	%eax
	andl	%r13d, %eax
	orl	%eax, 8(%rbx)
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_9
	jmp	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_ud
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_ud
_find_ud:                               ; @find_ud
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w21, [x1]
	tbnz	w21, #31, LBB0_10
; %bb.1:
	mov	x19, x0
	mov	x22, x21
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x22, #1
	cmp	x22, #0
	mov	x22, x8
	b.le	LBB0_5
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x8, [x19]
	ldr	x20, [x8, x22, lsl #3]
	cbz	x20, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_compute_local_ud
	str	wzr, [x20, #4]
	ldr	x20, [x20, #16]
	cbnz	x20, LBB0_4
	b	LBB0_2
LBB0_5:
	cmp	w21, #1
	b.lt	LBB0_10
; %bb.6:
	add	w21, w21, #1
	mov	w22, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, #1
	cmp	x22, x21
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x19]
	ldr	x20, [x8, x22, lsl #3]
	cbz	x20, LBB0_7
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_JT
	ldr	w23, [x0]
	mov	x0, x20
	bl	_JF
	ldr	w8, [x0]
	orr	w8, w8, w23
	ldp	w9, w10, [x20, #4]
	orr	w8, w8, w9
	ldr	w9, [x20, #12]
	bic	w9, w8, w9
	orr	w9, w10, w9
	stp	w8, w9, [x20, #4]
	ldr	x20, [x20, #16]
	cbnz	x20, LBB0_9
	b	LBB0_7
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_ud
.subsections_via_symbols
