	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reg_to_pdiv
_reg_to_pdiv:                           ## @reg_to_pdiv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.1:
	movl	(%rcx), %eax
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	cmpl	%esi, 4(%rcx)
	je	LBB0_6
## %bb.3:
	addq	$12, %rcx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rcx), %eax
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	8(%rcx), %rdx
	cmpl	%esi, (%rcx)
	movq	%rdx, %rcx
	jne	LBB0_4
LBB0_6:
	popq	%rbp
	retq
LBB0_7:
	movl	$1, %eax
	movl	%esi, %ecx
	shll	%cl, %eax
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_reg_to_pdiv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reg_to_pdiv
_reg_to_pdiv:                           ; @reg_to_pdiv
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	w0, [x8]
	cbz	w0, LBB0_6
; %bb.2:
	ldr	w9, [x8, #4]
	cmp	w9, w1
	b.eq	LBB0_6
; %bb.3:
	add	x8, x8, #12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x8, #-4]
	cbz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8], #8
	cmp	w9, w1
	b.ne	LBB0_4
LBB0_6:
	ret
LBB0_7:
	mov	w8, #1
	lsl	w0, w8, w1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_reg_to_pdiv
.subsections_via_symbols
