	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function siw_get_upage
_siw_get_upage:                         ## @siw_get_upage
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	subl	(%rdi), %ebx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rbx
	movq	_CHUNK_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_CHUNK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%edi, %edi
	cmpl	4(%r14), %ebx
	setb	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	notl	%r12d
	andl	%ebx, %r12d
	movl	%r15d, %ecx
	shrq	%cl, %rbx
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax,%r12,8), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_CHUNK_SHIFT,4,2                ## @CHUNK_SHIFT
	.comm	_CHUNK_MASK,4,2                 ## @CHUNK_MASK
	.no_dead_strip	_siw_get_upage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function siw_get_upage
_siw_get_upage:                         ; @siw_get_upage
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w8, w9, [x0]
	sub	w8, w1, w8
Lloh0:
	adrp	x10, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	lsr	x20, x8, x10
Lloh3:
	adrp	x8, _CHUNK_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHUNK_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _CHUNK_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHUNK_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	cmp	w20, w9
	cset	w0, lo
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	bic	w8, w20, w22
	lsr	x9, x20, x21
	ldr	x10, [x19, #8]
	ldr	x9, [x10, x9, lsl #3]
	ldr	x0, [x9, w8, uxtw #3]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_CHUNK_SHIFT,4,2                ; @CHUNK_SHIFT
	.comm	_CHUNK_MASK,4,2                 ; @CHUNK_MASK
	.no_dead_strip	_siw_get_upage
.subsections_via_symbols
