	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_groups
_print_groups:                          ## @print_groups
	.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	(%rsi), %esi
	leaq	-56(%rbp), %rdx
	callq	_ifconfig_get_groups
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.3:
	movl	-56(%rbp), %r13d
	cmpl	$8, %r13d
	jb	LBB0_12
## %bb.4:
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str.3(%rip), %r15
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r14d
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$8, %rbx
	cmpl	$7, %r13d
	jbe	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addl	$-8, %r13d
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_8
LBB0_10:
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.11:
	movl	$10, %edi
	callq	_putchar
LBB0_12:
	movq	-48(%rbp), %rdi
	callq	_free
	addq	$24, %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	"Failed to get groups"

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

L_.str.2:                               ## @.str.2
	.asciz	"\tgroups: "

L_.str.3:                               ## @.str.3
	.asciz	"%s "

	.no_dead_strip	_print_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_groups
_print_groups:                          ; @print_groups
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	ldr	w1, [x1]
	add	x2, sp, #16
	bl	_ifconfig_get_groups
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	x22, [sp, #24]
	ldr	w23, [sp, #16]
	cmp	x22, #0
	ccmp	w23, #8, #0, ne
	b.lo	LBB0_11
; %bb.3:
	mov	w24, #0
Lloh2:
	adrp	x19, l_.str.1@PAGE
Lloh3:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh6:
	adrp	x21, l_.str.3@PAGE
Lloh7:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w24, #1
	ldr	x8, [x22]
	str	x8, [sp]
	mov	x0, x21
	bl	_printf
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #8
	cmp	w23, #7
	b.ls	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w23, w23, #8
	ldr	x0, [x22]
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w24, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_printf
	b	LBB0_4
LBB0_9:
	cbz	w24, LBB0_11
; %bb.10:
	mov	w0, #10
	bl	_putchar
LBB0_11:
	ldr	x0, [sp, #24]
	bl	_free
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get groups"

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

l_.str.2:                               ; @.str.2
	.asciz	"\tgroups: "

l_.str.3:                               ; @.str.3
	.asciz	"%s "

	.no_dead_strip	_print_groups
.subsections_via_symbols
