	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function printgroup
_printgroup:                            ## @printgroup
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_AF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, %r15d
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_bzero
	movl	-40(%rbp), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_SIOCGIFGMEMB@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r15d, %edi
	movl	%r14d, %edx
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.4:
	movq	_ENOTTY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.5:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_7:
	movl	-56(%rbp), %r12d
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_calloc
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_9:
	movl	(%rbx), %esi
	movl	%r15d, %edi
	movl	%r14d, %edx
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_11:
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.12:
	cmpl	$8, %r12d
	jb	LBB0_16
## %bb.13:
	leaq	L_.str.3(%rip), %r14
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	addl	$-8, %r12d
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_printf
	addq	$8, %rbx
	cmpl	$7, %r12d
	ja	LBB0_14
## %bb.15:
	movq	-48(%rbp), %rbx
LBB0_16:
	movq	%rbx, %rdi
	callq	_free
LBB0_17:
	movq	_exit_code@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_LOCAL,4,2                   ## @AF_LOCAL
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"socket(AF_LOCAL,SOCK_DGRAM)"

	.comm	_SIOCGIFGMEMB,4,2               ## @SIOCGIFGMEMB
	.comm	_errno,8,3                      ## @errno
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_ENOTTY,8,3                     ## @ENOTTY
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_exit_code,4,2                  ## @exit_code
L_.str.1:                               ## @.str.1
	.asciz	"SIOCGIFGMEMB"

L_.str.2:                               ## @.str.2
	.asciz	"printgroup"

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

	.no_dead_strip	_printgroup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function printgroup
_printgroup:                            ; @printgroup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _AF_LOCAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_LOCAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	mov	x19, x0
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	add	x0, sp, #8
	mov	w1, #24
	bl	_bzero
	ldr	w0, [sp, #24]
	mov	x1, x20
	mov	w2, #4
	bl	_strlcpy
Lloh8:
	adrp	x21, _SIOCGIFGMEMB@GOTPAGE
Lloh9:
	ldr	x21, [x21, _SIOCGIFGMEMB@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.3:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _EINVAL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
Lloh16:
	adrp	x10, _ENOTTY@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ENOTTY@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
Lloh19:
	adrp	x11, _ENOENT@GOTPAGE
Lloh20:
	ldr	x11, [x11, _ENOENT@GOTPAGEOFF]
Lloh21:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.eq	LBB0_15
; %bb.4:
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_5:
	ldr	w20, [sp, #8]
	mov	w0, #1
	mov	x1, x20
	bl	_calloc
	str	x0, [sp, #16]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.8:
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_9:
	ldr	x19, [sp, #16]
	cbz	x19, LBB0_14
; %bb.10:
	cmp	w20, #8
	b.lo	LBB0_14
; %bb.11:
Lloh28:
	adrp	x21, l_.str.3@PAGE
Lloh29:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #8
	ldr	x1, [x19], #8
	mov	x0, x21
	bl	_printf
	cmp	w20, #7
	b.hi	LBB0_12
; %bb.13:
	ldr	x19, [sp, #16]
LBB0_14:
	mov	x0, x19
	bl	_free
LBB0_15:
Lloh30:
	adrp	x8, _exit_code@GOTPAGE
Lloh31:
	ldr	x8, [x8, _exit_code@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_LOCAL,4,2                   ; @AF_LOCAL
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"socket(AF_LOCAL,SOCK_DGRAM)"

	.comm	_SIOCGIFGMEMB,4,2               ; @SIOCGIFGMEMB
	.comm	_errno,8,3                      ; @errno
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_ENOTTY,8,3                     ; @ENOTTY
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_exit_code,4,2                  ; @exit_code
l_.str.1:                               ; @.str.1
	.asciz	"SIOCGIFGMEMB"

l_.str.2:                               ; @.str.2
	.asciz	"printgroup"

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

	.no_dead_strip	_printgroup
.subsections_via_symbols
