	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netgroup_match
_netgroup_match:                        ## @netgroup_match
	.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	%rbx
	subq	$1032, %rsp                     ## imm = 0x408
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-1056(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_getdomainname
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	cmpb	$0, -1056(%rbp)
	je	LBB0_10
## %bb.2:
	movl	$4, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, -1059(%rbp,%rax)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, -1058(%rbp,%rax)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, -1057(%rbp,%rax)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$1024, %rax                     ## imm = 0x400
	je	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, -1056(%rbp,%rax)
	leaq	4(%rax), %rax
	jne	LBB0_3
LBB0_8:
	leaq	-1056(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_innetgr
	cmpl	$1, %eax
	jne	LBB0_12
## %bb.9:
	movq	_YES@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_11:
	callq	_syslog
LBB0_12:
	movq	_NO@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_16
## %bb.14:
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_11
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NIS netgroup support disabled: no NIS domain"

	.comm	_NO,4,2                         ## @NO
L_.str.1:                               ## @.str.1
	.asciz	"NIS netgroup support disabled: invalid NIS domain"

	.comm	_YES,4,2                        ## @YES
	.no_dead_strip	_netgroup_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netgroup_match
_netgroup_match:                        ; @netgroup_match
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #1040
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x0, sp, #8
	mov	w1, #1024
	bl	_getdomainname
	cbnz	x0, LBB0_6
; %bb.1:
	ldrb	w8, [sp, #8]
	cbz	w8, LBB0_6
; %bb.2:
	mov	w8, #1
	add	x9, sp, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, #1024
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w10, [x9, x8]
	add	x8, x8, #1
	cbnz	w10, LBB0_3
; %bb.5:
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_innetgr
Lloh3:
	adrp	x8, _NO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NO@GOTPAGEOFF]
Lloh5:
	adrp	x9, _YES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _YES@GOTPAGEOFF]
	cmp	w0, #1
	csel	x8, x9, x8, eq
	b	LBB0_9
LBB0_6:
Lloh7:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	bl	_syslog
Lloh17:
	adrp	x8, _NO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NO@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NIS netgroup support disabled: no NIS domain"

	.comm	_NO,4,2                         ; @NO
l_.str.1:                               ; @.str.1
	.asciz	"NIS netgroup support disabled: invalid NIS domain"

	.comm	_YES,4,2                        ; @YES
	.no_dead_strip	_netgroup_match
.subsections_via_symbols
