	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___get_page                     ## -- Begin function __get_page
	.p2align	4, 0x90
___get_page:                            ## @__get_page
	.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
	movq	%rsi, %r15
	testl	%r8d, %r8d
	je	LBB0_2
## %bb.1:
	movq	%rdi, %r12
	movl	(%rdi), %ebx
	cmpl	$-1, %ebx
	je	LBB0_2
## %bb.3:
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %r13d
	movl	%edx, %edi
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.4:
	callq	_BUCKET_TO_PAGE
	jmp	LBB0_6
LBB0_5:
	callq	_OADDR_TO_PAGE
LBB0_6:
	movb	8(%r12), %cl
	shll	%cl, %eax
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_pread
	movl	$-1, %r14d
	cmpl	$-1, %eax
	je	LBB0_21
## %bb.7:
	testl	%eax, %eax
	je	LBB0_8
## %bb.15:
	cmpl	%r13d, %eax
	je	LBB0_9
## %bb.16:
	movq	_EFTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_21
LBB0_8:
	movl	$0, (%r15)
LBB0_9:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.17:
	movq	16(%r12), %rax
	movq	_BYTE_ORDER@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.18:
	movl	4(%r12), %r12d
	cmpl	$4, %r12d
	jl	LBB0_21
## %bb.19:
	shrq	$2, %r12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	callq	_M_32_SWAP
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_20
	jmp	LBB0_21
LBB0_10:
	movl	(%r15), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.11:
	movq	16(%r12), %rax
	movq	_BYTE_ORDER@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.12:
	callq	_M_16_SWAP
	movl	(%r15), %eax
	cmpl	$-1, %eax
	jl	LBB0_21
## %bb.13:
	addl	$2, %eax
	cmpl	$2, %eax
	movl	$1, %r12d
	cmovgel	%eax, %r12d
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%r15,%rbx,4), %edi
	callq	_M_16_SWAP
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_14
	jmp	LBB0_21
LBB0_2:
	movq	%r15, %rdi
	callq	_PAGE_INIT
	xorl	%r14d, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFTYPE,4,2                     ## @EFTYPE
	.comm	_errno,4,2                      ## @errno
	.comm	_BYTE_ORDER,8,3                 ## @BYTE_ORDER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___get_page                     ; -- Begin function __get_page
	.p2align	2
___get_page:                            ; @__get_page
	.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
	mov	x19, x1
	cbz	w4, LBB0_20
; %bb.1:
	mov	x20, x0
	ldr	w23, [x0]
	cmn	w23, #1
	b.eq	LBB0_20
; %bb.2:
	mov	x21, x5
	ldr	w22, [x20, #4]
	mov	x0, x2
	cbz	w3, LBB0_4
; %bb.3:
	bl	_BUCKET_TO_PAGE
	b	LBB0_5
LBB0_4:
	bl	_OADDR_TO_PAGE
LBB0_5:
	ldr	w8, [x20, #8]
	lsl	w3, w0, w8
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	bl	_pread
	cmn	w0, #1
	b.eq	LBB0_22
; %bb.6:
	cbz	w0, LBB0_9
; %bb.7:
	cmp	w0, w22
	b.eq	LBB0_10
; %bb.8:
Lloh0:
	adrp	x8, _EFTYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFTYPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_22
LBB0_9:
	str	wzr, [x19]
LBB0_10:
	cbz	w21, LBB0_15
; %bb.11:
	ldr	x8, [x20, #16]
Lloh6:
	adrp	x9, _BYTE_ORDER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BYTE_ORDER@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.12:
	ldr	w8, [x20, #4]
	cmp	w8, #4
	b.lt	LBB0_21
; %bb.13:
	lsr	x20, x8, #2
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19], #4
	bl	_M_32_SWAP
	subs	x20, x20, #1
	b.ne	LBB0_14
	b	LBB0_21
LBB0_15:
	ldr	w0, [x19]
	cbz	w0, LBB0_20
; %bb.16:
	ldr	x8, [x20, #16]
Lloh9:
	adrp	x9, _BYTE_ORDER@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BYTE_ORDER@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.17:
	bl	_M_16_SWAP
	ldr	w8, [x19]
	cmn	w8, #1
	b.lt	LBB0_21
; %bb.18:
	add	w8, w8, #2
	cmp	w8, #1
	csinc	w20, w8, wzr, gt
	add	x19, x19, #4
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19], #4
	bl	_M_16_SWAP
	mov	w0, #0
	subs	x20, x20, #1
	b.ne	LBB0_19
	b	LBB0_22
LBB0_20:
	mov	x0, x19
	bl	_PAGE_INIT
LBB0_21:
	mov	w0, #0
LBB0_22:
	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
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EFTYPE,4,2                     ; @EFTYPE
	.comm	_errno,4,2                      ; @errno
	.comm	_BYTE_ORDER,8,3                 ; @BYTE_ORDER
.subsections_via_symbols
