	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_get_pbl_info
_ocrdma_get_pbl_info:                   ## @ocrdma_get_pbl_info
	.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
	movl	%edx, %r12d
	movq	_OCRDMA_MIN_HPAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_MAX_OCRDMA_PBL_SIZE@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	cmpl	(%rax), %r15d
	jle	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_5:
	movq	%rdi, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %rsi
	movq	%rsi, %r14
	shrq	$2, %r14
	sarl	$2, %esi
	movl	%r12d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_roundup
	movslq	%eax, %rcx
	movq	%rcx, %rdx
	orq	%r14, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%r14
	cmpl	%eax, (%r13)
	jle	LBB0_2
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edx, %edx
	divl	%r14d
                                        ## kill: def $eax killed $eax def $rax
	cmpl	%eax, (%r13)
	jg	LBB0_10
LBB0_2:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_OCRDMA_MIN_HPAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movl	%ebx, %ecx
	shll	%cl, %r15d
	incl	%ebx
	movq	_MAX_OCRDMA_PBL_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	jle	LBB0_6
## %bb.3:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
LBB0_4:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	subl	(%rcx), %edx
	jmp	LBB0_11
LBB0_10:
	xorl	%edx, %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_11:
	movl	%r12d, (%rsi)
	movl	%eax, 4(%rsi)
	movl	%r15d, 8(%rsi)
	movl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCRDMA_MIN_HPAGE_SIZE,4,2      ## @OCRDMA_MIN_HPAGE_SIZE
	.comm	_MAX_OCRDMA_PBL_SIZE,4,2        ## @MAX_OCRDMA_PBL_SIZE
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_ocrdma_get_pbl_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_get_pbl_info
_ocrdma_get_pbl_info:                   ; @ocrdma_get_pbl_info
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x23, _OCRDMA_MIN_HPAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _OCRDMA_MIN_HPAGE_SIZE@GOTPAGEOFF]
	ldr	w22, [x23]
Lloh2:
	adrp	x24, _MAX_OCRDMA_PBL_SIZE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MAX_OCRDMA_PBL_SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w22, w8
	b.le	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_5
LBB0_2:
	mov	x21, x0
	mov	w25, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x8, w22
	lsr	x26, x8, #2
	asr	w1, w22, #2
	mov	x0, x20
	bl	_roundup
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	udiv	x8, x8, x26
	ldr	w9, [x21]
	cmp	w9, w8
	b.gt	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x23]
	lsl	w22, w9, w25
	ldr	w9, [x24]
	add	w25, w25, #1
	cmp	w22, w9
	b.le	LBB0_3
LBB0_5:
Lloh4:
	adrp	x9, _EFAULT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _EFAULT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	neg	w0, w9
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	stp	w20, w8, [x19]
	str	w22, [x19, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_OCRDMA_MIN_HPAGE_SIZE,4,2      ; @OCRDMA_MIN_HPAGE_SIZE
	.comm	_MAX_OCRDMA_PBL_SIZE,4,2        ; @MAX_OCRDMA_PBL_SIZE
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_ocrdma_get_pbl_info
.subsections_via_symbols
