	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function type_s
_type_s:                                ## @type_s
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%r8, %r8
	je	LBB0_5
## %bb.1:
	movslq	%edx, %r9
	negq	%r9
	movq	$-1, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %rdx
	cmpb	$0, 1(%r8,%rax)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r9, %rax
	cmpq	$-1, %rax
	movq	%rdx, %rax
	jne	LBB0_2
LBB0_4:
	movslq	%esi, %rax
	cmpq	%rax, %rdx
	movq	%rax, %rsi
	cmovaq	%rdx, %rsi
	cmpl	$-1, %eax
	cmoveq	%rdx, %rsi
	movq	%rcx, %rdx
	movq	%r8, %rcx
	popq	%rbp
	jmp	_print_it                       ## TAILCALL
LBB0_5:
	leaq	L_.str(%rip), %rdx
	movl	$6, %esi
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_print_it                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(null)"

	.no_dead_strip	_type_s
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function type_s
_type_s:                                ; @type_s
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
	cbz	x4, LBB0_4
; %bb.1:
	mov	x8, #0
	sxtw	x9, w2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x4, x8]
	add	x10, x8, #1
	cmp	w11, #0
	ccmp	x9, x8, #4, ne
	mov	x8, x10
	b.ne	LBB0_2
; %bb.3:
	sxtw	x8, w1
	sub	x9, x10, #1
	cmp	x9, x8
	csel	x8, x9, x8, hi
	cmn	w1, #1
	csel	x1, x9, x8, eq
	mov	x2, x3
	mov	x3, x4
	b	_print_it
LBB0_4:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #6
	mov	x3, #0
	b	_print_it
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(null)"

	.no_dead_strip	_type_s
.subsections_via_symbols
