	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_procstat_rlimit                ## -- Begin function procstat_rlimit
	.p2align	4, 0x90
_procstat_rlimit:                       ## @procstat_rlimit
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_procstat_opts@GOTPCREL(%rip), %rax
	movq	_PS_OPT_NOHEADER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.4(%rip), %r8
	leaq	L_.str.5(%rip), %r9
	xorl	%eax, %eax
	callq	_xo_emit
LBB0_2:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	_RLIM_NLIMITS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.3:
	movq	_rlimit_param@GOTPCREL(%rip), %r12
	movq	_RLIM_INFINITY@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rax
	movl	(%rax,%r15,4), %edi
	callq	_xo_close_container
	movl	-44(%rbp), %esi
	movl	%r15d, %edi
	callq	_humanize_rlimit
	leaq	L_.str.12(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	-48(%rbp), %esi
	movl	%r15d, %edi
	callq	_humanize_rlimit
	leaq	L_.str.13(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_xo_emit
	incq	%r15
	movq	_RLIM_NLIMITS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	leaq	-48(%rbp), %rcx
	callq	_procstat_getrlimit
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	(%r12), %rax
	movl	(%rax,%r15,4), %ecx
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	(%r12), %rax
	movl	(%rax,%r15,4), %edi
	callq	_xo_open_container
	movl	-44(%rbp), %esi
	cmpl	(%r13), %esi
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-48(%rbp), %esi
	cmpl	(%r13), %esi
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	jmp	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_procstat_opts,4,2              ## @procstat_opts
	.comm	_PS_OPT_NOHEADER,4,2            ## @PS_OPT_NOHEADER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"{T:/%5s %-16s %-16s %16s %16s}\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"COMM"

L_.str.3:                               ## @.str.3
	.asciz	"RLIMIT"

L_.str.4:                               ## @.str.4
	.asciz	"SOFT     "

L_.str.5:                               ## @.str.5
	.asciz	"HARD     "

L_.str.6:                               ## @.str.6
	.asciz	"{ek:process_id/%5d}{e:command/%-16s/%s}"

	.comm	_RLIM_NLIMITS,4,2               ## @RLIM_NLIMITS
L_.str.7:                               ## @.str.7
	.asciz	"{dk:process_id/%5d} {d:command/%-16s} {d:rlimit_param/%-16s} "

	.comm	_rlimit_param,8,3               ## @rlimit_param
	.comm	_RLIM_INFINITY,4,2              ## @RLIM_INFINITY
L_.str.8:                               ## @.str.8
	.asciz	"{e:soft_limit/infinity}"

L_.str.9:                               ## @.str.9
	.asciz	"{e:soft_limit/%U}"

L_.str.10:                              ## @.str.10
	.asciz	"{e:hard_limit/infinity}"

L_.str.11:                              ## @.str.11
	.asciz	"{e:hard_limit/%U}"

L_.str.12:                              ## @.str.12
	.asciz	"{d:rlim_cur/%16s} "

L_.str.13:                              ## @.str.13
	.asciz	"{d:rlim_max/%16s}\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_procstat_rlimit                ; -- Begin function procstat_rlimit
	.p2align	2
_procstat_rlimit:                       ; @procstat_rlimit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _procstat_opts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procstat_opts@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PS_OPT_NOHEADER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PS_OPT_NOHEADER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, l_.str.5@PAGE
Lloh7:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh8:
	adrp	x9, l_.str.4@PAGE
Lloh9:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh10:
	adrp	x10, l_.str.3@PAGE
Lloh11:
	add	x10, x10, l_.str.3@PAGEOFF
	stp	x9, x8, [sp, #24]
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh14:
	adrp	x11, l_.str.1@PAGE
Lloh15:
	add	x11, x11, l_.str.1@PAGEOFF
	stp	x8, x10, [sp, #8]
	str	x11, [sp]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xo_emit
LBB0_2:
	ldp	w9, w8, [x19]
	stp	x8, x9, [sp]
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_xo_emit
Lloh20:
	adrp	x23, _RLIM_NLIMITS@GOTPAGE
Lloh21:
	ldr	x23, [x23, _RLIM_NLIMITS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.3:
	mov	x21, #0
Lloh22:
	adrp	x24, _rlimit_param@GOTPAGE
Lloh23:
	ldr	x24, [x24, _rlimit_param@GOTPAGEOFF]
Lloh24:
	adrp	x22, l_.str.7@PAGE
Lloh25:
	add	x22, x22, l_.str.7@PAGEOFF
Lloh26:
	adrp	x27, _RLIM_INFINITY@GOTPAGE
Lloh27:
	ldr	x27, [x27, _RLIM_INFINITY@GOTPAGEOFF]
Lloh28:
	adrp	x25, l_.str.12@PAGE
Lloh29:
	add	x25, x25, l_.str.12@PAGEOFF
Lloh30:
	adrp	x26, l_.str.13@PAGE
Lloh31:
	add	x26, x26, l_.str.13@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x8, [sp]
Lloh32:
	adrp	x0, l_.str.11@PAGE
Lloh33:
	add	x0, x0, l_.str.11@PAGEOFF
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_xo_emit
	ldr	x8, [x24]
	ldr	w0, [x8, x21, lsl #2]
	bl	_xo_close_container
	ldr	w1, [sp, #44]
	mov	x0, x21
	bl	_humanize_rlimit
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x25
	bl	_xo_emit
	ldr	w1, [sp, #40]
	mov	x0, x21
	bl	_humanize_rlimit
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x26
	bl	_xo_emit
	add	x21, x21, #1
	ldrsw	x8, [x23]
	cmp	x21, x8
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #40
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_procstat_getrlimit
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	lsl	x28, x21, #2
	ldr	w8, [x8, x28]
	ldp	w10, w9, [x19]
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
	mov	x0, x22
	bl	_xo_emit
	ldr	x8, [x24]
	ldr	w0, [x8, x28]
	bl	_xo_open_container
	ldr	w8, [sp, #44]
	ldr	w9, [x27]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh34:
	adrp	x0, l_.str.8@PAGE
Lloh35:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x8, [sp]
Lloh36:
	adrp	x0, l_.str.9@PAGE
Lloh37:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_xo_emit
	ldr	w8, [sp, #40]
	ldr	w9, [x27]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh38:
	adrp	x0, l_.str.10@PAGE
Lloh39:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_5
LBB0_12:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_procstat_opts,4,2              ; @procstat_opts
	.comm	_PS_OPT_NOHEADER,4,2            ; @PS_OPT_NOHEADER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{T:/%5s %-16s %-16s %16s %16s}\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"COMM"

l_.str.3:                               ; @.str.3
	.asciz	"RLIMIT"

l_.str.4:                               ; @.str.4
	.asciz	"SOFT     "

l_.str.5:                               ; @.str.5
	.asciz	"HARD     "

l_.str.6:                               ; @.str.6
	.asciz	"{ek:process_id/%5d}{e:command/%-16s/%s}"

	.comm	_RLIM_NLIMITS,4,2               ; @RLIM_NLIMITS
l_.str.7:                               ; @.str.7
	.asciz	"{dk:process_id/%5d} {d:command/%-16s} {d:rlimit_param/%-16s} "

	.comm	_rlimit_param,8,3               ; @rlimit_param
	.comm	_RLIM_INFINITY,4,2              ; @RLIM_INFINITY
l_.str.8:                               ; @.str.8
	.asciz	"{e:soft_limit/infinity}"

l_.str.9:                               ; @.str.9
	.asciz	"{e:soft_limit/%U}"

l_.str.10:                              ; @.str.10
	.asciz	"{e:hard_limit/infinity}"

l_.str.11:                              ; @.str.11
	.asciz	"{e:hard_limit/%U}"

l_.str.12:                              ; @.str.12
	.asciz	"{d:rlim_cur/%16s} "

l_.str.13:                              ; @.str.13
	.asciz	"{d:rlim_max/%16s}\n"

.subsections_via_symbols
