	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cgetcap                        ## -- Begin function cgetcap
	.p2align	4, 0x90
_cgetcap:                               ## @cgetcap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	leaq	1(%rsi), %r9
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%cl, %ecx
	cmpl	%edx, %ecx
	je	LBB0_17
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movb	(%rax), %cl
	testb	%cl, %cl
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpb	$58, %cl
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	(%rsi), %r8b
	movb	(%rax), %cl
	cmpb	%cl, %r8b
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	%cl, %cl
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r9, %rdi
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rdi), %r8d
	movzbl	1(%rax), %ecx
	incq	%rax
	cmpb	%cl, %r8b
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	incq	%rdi
	testb	%cl, %cl
	jne	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	%r8b, %r8b
	jne	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$64, %cl
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$58, %edx
	jne	LBB0_1
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	testb	%cl, %cl
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$58, %cl
	jne	LBB0_2
LBB0_14:
	popq	%rbp
	retq
LBB0_16:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_17:
	leaq	1(%rax), %rcx
	xorl	%edx, %edx
	cmpb	$64, 1(%rax)
	cmovneq	%rcx, %rdx
	movq	%rdx, %rax
	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	_cgetcap                        ; -- Begin function cgetcap
	.p2align	2
_cgetcap:                               ; @cgetcap
	.cfi_startproc
; %bb.0:
	add	x8, x1, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w10, LBB0_7
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldrb	w9, [x0]
	cbz	w9, LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	cmp	w9, #58
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w10, [x1]
	ldrb	w9, [x0]
	cmp	w10, w9
	ccmp	w9, #0, #4, eq
	b.eq	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x11, x8
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x0, #1]!
	ldrb	w10, [x11], #1
	cmp	w10, w9
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_6
	b	LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #64
	b.eq	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w2, #58
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w9, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #58
	b.ne	LBB0_2
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w9, w9
	cmp	w9, w2
	b.ne	LBB0_2
; %bb.12:
	ldrb	w8, [x0, #1]!
	cmp	w8, #64
	csel	x0, xzr, x0, eq
LBB0_13:
	ret
LBB0_14:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
