	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_calc_secs                 ## -- Begin function pblk_calc_secs
	.p2align	4, 0x90
_pblk_calc_secs:                        ## @pblk_calc_secs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movl	4(%rdi), %r8d
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movl	8(%rdi), %ecx
	cmpl	%r8d, %ecx
	cmovnel	%ecx, %eax
	movl	%ecx, %r8d
LBB0_2:
	movslq	%eax, %rcx
	cmpq	%rsi, %rcx
	jbe	LBB0_9
## %bb.3:
	movslq	%r8d, %rcx
	cmpq	%rsi, %rcx
	jbe	LBB0_4
## %bb.8:
	xorl	%eax, %eax
	testq	%rdx, %rdx
	cmovel	%eax, %r8d
	movl	%r8d, %eax
LBB0_9:
	popq	%rbp
	retq
LBB0_4:
	movq	%rsi, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_5
## %bb.6:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_7
LBB0_5:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%r8d
                                        ## kill: def $edx killed $edx def $rdx
LBB0_7:
	subl	%edx, %esi
	movl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_calc_secs                 ; -- Begin function pblk_calc_secs
	.p2align	2
_pblk_calc_secs:                        ; @pblk_calc_secs
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w0, [x0]
	ldr	w9, [x8, #4]
	cbz	w3, LBB0_2
; %bb.1:
	ldr	w8, [x8, #8]
	cmp	w8, w9
	csel	w0, w0, w8, eq
	mov	x9, x8
LBB0_2:
	sxtw	x8, w0
	cmp	x8, x1
	b.ls	LBB0_5
; %bb.3:
	sxtw	x8, w9
	cmp	x8, x1
	b.ls	LBB0_6
; %bb.4:
	cmp	x2, #0
	csel	w0, wzr, w9, eq
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_6:
	udiv	x9, x1, x8
	mul	w0, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
