	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_limits
_show_limits:                           ## @show_limits
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	_RCTL_DEFAULT_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %r14
	xorl	%ebx, %ebx
	movq	_ERANGE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	shlq	$2, %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_realloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_strlen
	leaq	1(%rax), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_rctl_get_limits
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	je	LBB0_1
## %bb.5:
	movq	_ENOSYS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_enosys
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_warn
	jmp	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_print_rules
LBB0_9:
	movq	%rbx, %rdi
	callq	_free
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCTL_DEFAULT_BUFSIZE,4,2       ## @RCTL_DEFAULT_BUFSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"realloc"

	.comm	_errno,8,3                      ## @errno
	.comm	_ERANGE,8,3                     ## @ERANGE
	.comm	_ENOSYS,8,3                     ## @ENOSYS
L_.str.1:                               ## @.str.1
	.asciz	"failed to get limits for '%s'"

	.no_dead_strip	_show_limits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_limits
_show_limits:                           ; @show_limits
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	mov	x19, #0
Lloh0:
	adrp	x8, _RCTL_DEFAULT_BUFSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCTL_DEFAULT_BUFSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	sbfx	x24, x8, #2, #30
Lloh3:
	adrp	x25, l_.str@PAGE
Lloh4:
	add	x25, x25, l_.str@PAGEOFF
Lloh5:
	adrp	x27, _errno@GOTPAGE
Lloh6:
	ldr	x27, [x27, _errno@GOTPAGEOFF]
Lloh7:
	adrp	x28, _ERANGE@GOTPAGE
Lloh8:
	ldr	x28, [x28, _ERANGE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x24, x24, #2
	mov	x0, x19
	mov	x1, x24
	bl	_realloc
	mov	x19, x0
	cbnz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
	mov	x1, x25
	bl	_err
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	bl	_strlen
	add	x1, x0, #1
	mov	x0, x23
	mov	x2, x19
	mov	x3, x24
	bl	_rctl_get_limits
	mov	x26, x0
	cbz	w0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.5:
Lloh9:
	adrp	x9, _ENOSYS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENOSYS@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	bl	_enosys
LBB0_7:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_warn
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_print_rules
LBB0_9:
	mov	x0, x19
	bl	_free
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_RCTL_DEFAULT_BUFSIZE,4,2       ; @RCTL_DEFAULT_BUFSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"realloc"

	.comm	_errno,8,3                      ; @errno
	.comm	_ERANGE,8,3                     ; @ERANGE
	.comm	_ENOSYS,8,3                     ; @ENOSYS
l_.str.1:                               ; @.str.1
	.asciz	"failed to get limits for '%s'"

	.no_dead_strip	_show_limits
.subsections_via_symbols
