	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_Page_GetMediaBox          ## -- Begin function HPDF_Page_GetMediaBox
	.p2align	4, 0x90
_HPDF_Page_GetMediaBox:                 ## @HPDF_Page_GetMediaBox
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	movq	%r14, %rdi
	callq	_HPDF_Page_Validate
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	_HPDF_OCLASS_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_HPDF_Page_GetInheritableItem
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %r15
	movq	_HPDF_OCLASS_REAL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_HPDF_Array_GetItem
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
LBB0_4:
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_HPDF_Array_GetItem
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
LBB0_6:
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_HPDF_Array_GetItem
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
LBB0_8:
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	$3, %esi
	callq	_HPDF_Array_GetItem
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_10:
	movl	(%r14), %edi
	callq	_HPDF_CheckError
	jmp	LBB0_12
LBB0_11:
	movl	(%r14), %edi
	movq	_HPDF_PAGE_CANNOT_FIND_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_HPDF_RaiseError
LBB0_12:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_Page_GetMediaBox\n"

L_.str.1:                               ## @.str.1
	.asciz	"MediaBox"

	.comm	_HPDF_OCLASS_ARRAY,4,2          ## @HPDF_OCLASS_ARRAY
	.comm	_HPDF_OCLASS_REAL,4,2           ## @HPDF_OCLASS_REAL
	.comm	_HPDF_PAGE_CANNOT_FIND_OBJECT,4,2 ## @HPDF_PAGE_CANNOT_FIND_OBJECT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_Page_GetMediaBox          ; -- Begin function HPDF_Page_GetMediaBox
	.p2align	2
_HPDF_Page_GetMediaBox:                 ; @HPDF_Page_GetMediaBox
	.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
	mov	x20, x8
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	mov	x0, x19
	bl	_HPDF_Page_Validate
	cbz	x0, LBB0_11
; %bb.1:
Lloh2:
	adrp	x8, _HPDF_OCLASS_ARRAY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPDF_OCLASS_ARRAY@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Page_GetInheritableItem
	cbz	x0, LBB0_12
; %bb.2:
	mov	x21, x0
Lloh7:
	adrp	x22, _HPDF_OCLASS_REAL@GOTPAGE
Lloh8:
	ldr	x22, [x22, _HPDF_OCLASS_REAL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #0
	bl	_HPDF_Array_GetItem
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x0]
	str	w8, [x20, #12]
LBB0_4:
	ldr	w2, [x22]
	mov	x0, x21
	mov	w1, #1
	bl	_HPDF_Array_GetItem
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x0]
	str	w8, [x20, #8]
LBB0_6:
	ldr	w2, [x22]
	mov	x0, x21
	mov	w1, #2
	bl	_HPDF_Array_GetItem
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [x0]
	str	w8, [x20, #4]
LBB0_8:
	ldr	w2, [x22]
	mov	x0, x21
	mov	w1, #3
	bl	_HPDF_Array_GetItem
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w8, [x0]
	str	w8, [x20]
LBB0_10:
	ldr	w0, [x19]
	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
	b	_HPDF_CheckError
LBB0_11:
	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
LBB0_12:
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _HPDF_PAGE_CANNOT_FIND_OBJECT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HPDF_PAGE_CANNOT_FIND_OBJECT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #0
	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
	b	_HPDF_RaiseError
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_Page_GetMediaBox\n"

l_.str.1:                               ; @.str.1
	.asciz	"MediaBox"

	.comm	_HPDF_OCLASS_ARRAY,4,2          ; @HPDF_OCLASS_ARRAY
	.comm	_HPDF_OCLASS_REAL,4,2           ; @HPDF_OCLASS_REAL
	.comm	_HPDF_PAGE_CANNOT_FIND_OBJECT,4,2 ; @HPDF_PAGE_CANNOT_FIND_OBJECT
.subsections_via_symbols
