	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stat_shm
_stat_shm:                              ## @stat_shm
	.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, %r12
	movl	%edi, %r15d
	movl	$1, %r14d
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	%r14d, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %r14d
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_getopt
	xorl	%ecx, %ecx
	cmpl	$110, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$104, %eax
	jne	LBB0_6
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ebx
	jmp	LBB0_2
LBB0_7:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %r15d
	testl	%r15d, %r15d
	jle	LBB0_8
## %bb.9:
	leaq	(%r12,%rax,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r15d, %r15d
	movl	%ebx, %r12d
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	callq	_stat_one_shm
	testl	%r13d, %r13d
	movl	%r13d, %ecx
	cmovel	%eax, %ecx
	testl	%eax, %eax
	cmovnel	%ecx, %r13d
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_10
	jmp	LBB0_11
LBB0_6:
	xorl	%eax, %eax
	callq	_usage
	movl	$2, %r13d
	jmp	LBB0_11
LBB0_8:
	xorl	%r13d, %r13d
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hn"

	.comm	_optind,8,3                     ## @optind
	.no_dead_strip	_stat_shm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stat_shm
_stat_shm:                              ; @stat_shm
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x22, x0
	mov	w20, #0
	mov	w19, #1
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	x1, x19
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x19, x1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_getopt
	mov	w1, #0
	cmp	w0, #110
	b.eq	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #104
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w20, #1
	b	LBB0_1
LBB0_6:
Lloh2:
	adrp	x8, _optind@GOTPAGE
Lloh3:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	sub	w23, w22, w8
	cmp	w23, #1
	b.lt	LBB0_10
; %bb.7:
	mov	w22, #0
	add	x21, x21, x8, lsl #3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21], #8
	mov	x1, x20
	mov	x2, x19
	bl	_stat_one_shm
	cmp	w22, #0
	ccmp	w0, #0, #4, eq
	csel	w22, w0, w22, ne
	subs	x23, x23, #1
	b.ne	LBB0_8
	b	LBB0_11
LBB0_9:
	bl	_usage
	mov	w22, #2
	b	LBB0_11
LBB0_10:
	mov	w22, #0
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hn"

	.comm	_optind,8,3                     ; @optind
	.no_dead_strip	_stat_shm
.subsections_via_symbols
