	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nglmi_newhook
_nglmi_newhook:                         ## @nglmi_newhook
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	%edi, %r12d
	callq	_NG_NODE_PRIVATE
	movq	%rax, %r15
	movq	_NG_LMI_HOOK_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_SCF_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_3
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_16
LBB0_1:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_NG_HOOK_SET_PRIVATE
	jmp	LBB0_16
LBB0_3:
	movq	_NG_LMI_HOOK_ANNEXA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	_NG_LMI_HOOK_ANNEXD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_NG_LMI_HOOK_GROUPOF4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_NG_LMI_HOOK_AUTO0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:
	movq	_NG_LMI_HOOK_AUTO1023@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	%r14, 24(%r15)
	movq	_NAME_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	movl	%r12d, %edi
	callq	_NG_NODE_PRIVATE
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_NG_HOOK_SET_PRIVATE
	xorl	%ebx, %ebx
	cmpq	$0, 8(%r15)
	jne	LBB0_12
	jmp	LBB0_16
LBB0_4:
	movq	%r14, 48(%r15)
	movl	%r12d, %edi
	callq	_NG_NODE_PRIVATE
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_NG_HOOK_SET_PRIVATE
	movl	$8, 4(%r15)
	movq	_SCF_ANNEX_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_SETLMITYPE
	movq	_NAME_ANNEXA@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	%r14, 40(%r15)
	movl	%r12d, %edi
	callq	_NG_NODE_PRIVATE
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_NG_HOOK_SET_PRIVATE
	movl	$8, 4(%r15)
	movq	_SCF_ANNEX_D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_SETLMITYPE
	movq	_NAME_ANNEXD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_9:
	movq	%r14, 32(%r15)
	movl	%r12d, %edi
	callq	_NG_NODE_PRIVATE
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_NG_HOOK_SET_PRIVATE
	movl	$9, 4(%r15)
	movq	_SCF_GROUP4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_SETLMITYPE
	movq	_NAME_GROUP4@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_nglmi_startup_fixed
	xorl	%ebx, %ebx
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r14, 8(%r15)
	movq	_NAME_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	movl	%r12d, %edi
	callq	_NG_NODE_PRIVATE
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_NG_HOOK_SET_PRIVATE
	xorl	%ebx, %ebx
	cmpq	$0, 24(%r15)
	je	LBB0_16
LBB0_12:
	movq	%r15, %rdi
	callq	_nglmi_startup_auto
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_NG_LMI_HOOK_DEBUG,4,2          ## @NG_LMI_HOOK_DEBUG
	.comm	_SCF_CONNECTED,4,2              ## @SCF_CONNECTED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NG_LMI_HOOK_ANNEXA,4,2         ## @NG_LMI_HOOK_ANNEXA
	.comm	_SCF_ANNEX_A,4,2                ## @SCF_ANNEX_A
	.comm	_NAME_ANNEXA,8,3                ## @NAME_ANNEXA
	.comm	_NG_LMI_HOOK_ANNEXD,4,2         ## @NG_LMI_HOOK_ANNEXD
	.comm	_SCF_ANNEX_D,4,2                ## @SCF_ANNEX_D
	.comm	_NAME_ANNEXD,8,3                ## @NAME_ANNEXD
	.comm	_NG_LMI_HOOK_GROUPOF4,4,2       ## @NG_LMI_HOOK_GROUPOF4
	.comm	_SCF_GROUP4,4,2                 ## @SCF_GROUP4
	.comm	_NAME_GROUP4,8,3                ## @NAME_GROUP4
	.comm	_NG_LMI_HOOK_AUTO0,4,2          ## @NG_LMI_HOOK_AUTO0
	.comm	_NAME_NONE,8,3                  ## @NAME_NONE
	.comm	_NG_LMI_HOOK_AUTO1023,4,2       ## @NG_LMI_HOOK_AUTO1023
	.no_dead_strip	_nglmi_newhook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nglmi_newhook
_nglmi_newhook:                         ; @nglmi_newhook
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	bl	_NG_NODE_PRIVATE
	mov	x19, x0
Lloh0:
	adrp	x8, _NG_LMI_HOOK_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NG_LMI_HOOK_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _SCF_CONNECTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCF_CONNECTED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_3:
	mov	x0, x20
	mov	x1, #0
	bl	_NG_HOOK_SET_PRIVATE
	b	LBB0_14
LBB0_4:
Lloh9:
	adrp	x8, _NG_LMI_HOOK_ANNEXA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NG_LMI_HOOK_ANNEXA@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.5:
Lloh12:
	adrp	x8, _NG_LMI_HOOK_ANNEXD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NG_LMI_HOOK_ANNEXD@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.6:
Lloh15:
	adrp	x8, _NG_LMI_HOOK_GROUPOF4@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NG_LMI_HOOK_GROUPOF4@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.7:
Lloh18:
	adrp	x8, _NG_LMI_HOOK_AUTO0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NG_LMI_HOOK_AUTO0@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.8:
Lloh21:
	adrp	x8, _NG_LMI_HOOK_AUTO1023@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NG_LMI_HOOK_AUTO1023@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.9:
Lloh24:
	adrp	x8, _NAME_NONE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NAME_NONE@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	stp	x8, x20, [x19, #16]
	mov	x0, x21
	bl	_NG_NODE_PRIVATE
	mov	x1, x0
	mov	x0, x20
	bl	_NG_HOOK_SET_PRIVATE
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_17
	b	LBB0_14
LBB0_10:
	str	x20, [x19, #48]
	mov	x0, x21
	bl	_NG_NODE_PRIVATE
	mov	x1, x0
	mov	x0, x20
	bl	_NG_HOOK_SET_PRIVATE
	mov	w8, #8
	str	w8, [x19, #4]
Lloh27:
	adrp	x8, _SCF_ANNEX_A@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SCF_ANNEX_A@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SETLMITYPE
Lloh30:
	adrp	x8, _NAME_ANNEXA@GOTPAGE
Lloh31:
	ldr	x8, [x8, _NAME_ANNEXA@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	str	x20, [x19, #40]
	mov	x0, x21
	bl	_NG_NODE_PRIVATE
	mov	x1, x0
	mov	x0, x20
	bl	_NG_HOOK_SET_PRIVATE
	mov	w8, #8
	str	w8, [x19, #4]
Lloh32:
	adrp	x8, _SCF_ANNEX_D@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SCF_ANNEX_D@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SETLMITYPE
Lloh35:
	adrp	x8, _NAME_ANNEXD@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NAME_ANNEXD@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	str	x20, [x19, #32]
	mov	x0, x21
	bl	_NG_NODE_PRIVATE
	mov	x1, x0
	mov	x0, x20
	bl	_NG_HOOK_SET_PRIVATE
	mov	w8, #9
	str	w8, [x19, #4]
Lloh37:
	adrp	x8, _SCF_GROUP4@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SCF_GROUP4@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SETLMITYPE
Lloh40:
	adrp	x8, _NAME_GROUP4@GOTPAGE
Lloh41:
	ldr	x8, [x8, _NAME_GROUP4@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_nglmi_startup_fixed
LBB0_14:
	mov	w0, #0
LBB0_15:
	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_16:
Lloh42:
	adrp	x8, _NAME_NONE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _NAME_NONE@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	stp	x20, x8, [x19, #8]
	mov	x0, x21
	bl	_NG_NODE_PRIVATE
	mov	x1, x0
	mov	x0, x20
	bl	_NG_HOOK_SET_PRIVATE
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_14
LBB0_17:
	mov	x0, x19
	bl	_nglmi_startup_auto
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_NG_LMI_HOOK_DEBUG,4,2          ; @NG_LMI_HOOK_DEBUG
	.comm	_SCF_CONNECTED,4,2              ; @SCF_CONNECTED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NG_LMI_HOOK_ANNEXA,4,2         ; @NG_LMI_HOOK_ANNEXA
	.comm	_SCF_ANNEX_A,4,2                ; @SCF_ANNEX_A
	.comm	_NAME_ANNEXA,8,3                ; @NAME_ANNEXA
	.comm	_NG_LMI_HOOK_ANNEXD,4,2         ; @NG_LMI_HOOK_ANNEXD
	.comm	_SCF_ANNEX_D,4,2                ; @SCF_ANNEX_D
	.comm	_NAME_ANNEXD,8,3                ; @NAME_ANNEXD
	.comm	_NG_LMI_HOOK_GROUPOF4,4,2       ; @NG_LMI_HOOK_GROUPOF4
	.comm	_SCF_GROUP4,4,2                 ; @SCF_GROUP4
	.comm	_NAME_GROUP4,8,3                ; @NAME_GROUP4
	.comm	_NG_LMI_HOOK_AUTO0,4,2          ; @NG_LMI_HOOK_AUTO0
	.comm	_NAME_NONE,8,3                  ; @NAME_NONE
	.comm	_NG_LMI_HOOK_AUTO1023,4,2       ; @NG_LMI_HOOK_AUTO1023
	.no_dead_strip	_nglmi_newhook
.subsections_via_symbols
