	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plim
_plim:                                  ## @plim
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movl	20(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_xprintf
	movq	8(%rbx), %rdi
	xorl	%esi, %esi
	callq	_ulimit
	movq	8(%rbx), %rdx
	movq	_RLIMIT_FSIZE@GOTPCREL(%rip), %rsi
	movq	_RLIM_INFINITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	(%rsi), %rdx
	jne	LBB0_3
## %bb.1:
	leal	511(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$9, %edx
	cmpl	%edx, %eax
	jge	LBB0_4
## %bb.2:
	xorl	%edx, %edx
	cmpl	$1024, %r14d                    ## imm = 0x400
	sete	%dl
	incl	%edx
	movl	%edx, %r14d
LBB0_3:
	cmpl	%ecx, %eax
	jne	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_xprintf
	jmp	LBB0_6
LBB0_5:
	cltd
	idivl	%r14d
	movslq	%eax, %rsi
	movl	16(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_xprintf
LBB0_6:
	movl	$10, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xputchar                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%-13.13s"

	.comm	_RLIMIT_FSIZE,8,3               ## @RLIMIT_FSIZE
	.comm	_RLIM_INFINITY,4,2              ## @RLIM_INFINITY
L_.str.1:                               ## @.str.1
	.asciz	"unlimited"

L_.str.2:                               ## @.str.2
	.asciz	"%ld %s"

	.comm	_RLIMIT_CPU,8,3                 ## @RLIMIT_CPU
	.comm	_RLIMIT_DATA,8,3                ## @RLIMIT_DATA
	.no_dead_strip	_plim
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plim
_plim:                                  ; @plim
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w20, [x0]
	ldr	w8, [x0, #20]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xprintf
	ldr	x0, [x19, #8]
	mov	w1, #0
	bl	_ulimit
Lloh2:
	adrp	x8, _RLIMIT_FSIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RLIMIT_FSIZE@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh4:
	ldr	x10, [x8]
Lloh5:
	adrp	x8, _RLIM_INFINITY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RLIM_INFINITY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	add	w9, w8, #511
	cmp	w8, #0
	csel	w9, w9, w8, lt
	cmp	w0, w9, asr #9
	b.ge	LBB0_4
; %bb.2:
	cmp	w20, #1024
	mov	w9, #1
	cinc	w20, w9, eq
LBB0_3:
	cmp	w0, w8
	b.ne	LBB0_5
LBB0_4:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	sdiv	w8, w0, w20
	sxtw	x8, w8
	ldr	w9, [x19, #16]
	stp	x8, x9, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_xprintf
	mov	w0, #10
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_xputchar
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%-13.13s"

	.comm	_RLIMIT_FSIZE,8,3               ; @RLIMIT_FSIZE
	.comm	_RLIM_INFINITY,4,2              ; @RLIM_INFINITY
l_.str.1:                               ; @.str.1
	.asciz	"unlimited"

l_.str.2:                               ; @.str.2
	.asciz	"%ld %s"

	.comm	_RLIMIT_CPU,8,3                 ; @RLIMIT_CPU
	.comm	_RLIMIT_DATA,8,3                ; @RLIMIT_DATA
	.no_dead_strip	_plim
.subsections_via_symbols
