	.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	%esi, %r14d
	movq	%rdi, %r12
	movq	_OCRDMA_MIN_HPAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_MAX_OCRDMA_PBL_SIZE@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	cmpl	(%rax), %ebx
	jle	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_5:
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rsi
	movq	%rsi, %r15
	shrq	$2, %r15
	sarl	$2, %esi
	movl	%r14d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_roundup
	movslq	%eax, %rcx
	movq	%rcx, %rdx
	orq	%r15, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edx, %edx
	divl	%r15d
                                        ## kill: def $eax killed $eax def $rax
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r12), %rcx
	cmpl	%eax, (%rcx)
	jg	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_OCRDMA_MIN_HPAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%r13d, %ecx
	shll	%cl, %ebx
	incl	%r13d
	movq	_MAX_OCRDMA_PBL_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jle	LBB0_6
## %bb.3:
	xorl	%edx, %edx
LBB0_4:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	subl	(%rcx), %edx
	jmp	LBB0_11
LBB0_10:
	xorl	%edx, %edx
LBB0_11:
	movl	%r14d, (%r12)
	movl	%eax, 4(%r12)
	movl	%ebx, 8(%r12)
	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, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _OCRDMA_MIN_HPAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _OCRDMA_MIN_HPAGE_SIZE@GOTPAGEOFF]
	ldr	w21, [x22]
Lloh2:
	adrp	x23, _MAX_OCRDMA_PBL_SIZE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MAX_OCRDMA_PBL_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w21, w8
	b.le	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_5
LBB0_2:
	mov	w24, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x8, w21
	lsr	x25, x8, #2
	asr	w1, w21, #2
	mov	x0, x20
	bl	_roundup
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	udiv	x8, x8, x25
	ldr	x9, [x19, #16]
	ldr	w9, [x9]
	cmp	w9, w8
	b.gt	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x22]
	lsl	w21, w9, w24
	ldr	w9, [x23]
	add	w24, w24, #1
	cmp	w21, 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	w21, [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
