	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsi_slave_calc_addr
_fsi_slave_calc_addr:                   ## @fsi_slave_calc_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	cmpl	(%rdi), %eax
	jg	LBB0_1
## %bb.2:
	cmpl	$2097152, %eax                  ## imm = 0x200000
	jl	LBB0_3
## %bb.4:
	cmpq	$0, 8(%rdi)
	je	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_3:
	movl	(%rdx), %ecx
	jmp	LBB0_6
LBB0_5:
	movl	%eax, %ecx
	shrl	$21, %ecx
	andl	$3, %ecx
	andl	$2097151, %eax                  ## imm = 0x1FFFFF
LBB0_6:
	movl	%eax, (%rsi)
	movl	%ecx, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_fsi_slave_calc_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsi_slave_calc_addr
_fsi_slave_calc_addr:                   ; @fsi_slave_calc_addr
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	ldr	w9, [x0]
	cmp	w8, w9
	b.gt	LBB0_3
; %bb.1:
	cmp	w8, #512, lsl #12               ; =2097152
	b.lt	LBB0_4
; %bb.2:
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_4:
	ldr	w9, [x2]
	b	LBB0_6
LBB0_5:
	ubfx	w9, w8, #21, #2
	and	w8, w8, #0x1fffff
LBB0_6:
	mov	w0, #0
	str	w8, [x1]
	str	w9, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_fsi_slave_calc_addr
.subsections_via_symbols
