	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_pmx_calc_reg_and_offset
_meson_pmx_calc_reg_and_offset:         ## @meson_pmx_calc_reg_and_offset
	.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 $esi killed $esi def $rsi
	subl	(%rdi), %esi
	movl	8(%rdi), %eax
	leal	(%rax,%rsi,4), %r8d
	leal	(%rax,%rsi,4), %eax
	addl	$31, %eax
	testl	%r8d, %r8d
	cmovnsl	%r8d, %eax
	sarl	$5, %eax
	addl	4(%rdi), %eax
	movl	%eax, (%rdx)
	movl	8(%rdi), %eax
	leal	(%rax,%rsi,4), %edx
	leal	(%rax,%rsi,4), %eax
	addl	$31, %eax
	testl	%edx, %edx
	cmovnsl	%edx, %eax
	andl	$-32, %eax
	subl	%eax, %edx
	movl	%edx, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_meson_pmx_calc_reg_and_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_pmx_calc_reg_and_offset
_meson_pmx_calc_reg_and_offset:         ; @meson_pmx_calc_reg_and_offset
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	sub	w8, w1, w8
	ldr	w10, [x0, #8]
	lsl	w8, w8, #2
	add	w10, w10, w8
	add	w11, w10, #31
	cmp	w10, #0
	csel	w10, w11, w10, lt
	add	w9, w9, w10, asr #5
	str	w9, [x2]
	ldr	w9, [x0, #8]
	add	w8, w9, w8
	negs	w9, w8
	and	w8, w8, #0x1f
	and	w9, w9, #0x1f
	csneg	w8, w8, w9, mi
	str	w8, [x3]
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_meson_pmx_calc_reg_and_offset
.subsections_via_symbols
