	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_info_gate
_get_info_gate:                         ## @get_info_gate
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	(%rcx), %rdx
	movq	_AF_INET@GOTPCREL(%rip), %r15
	movl	$1, %eax
	cmpq	(%r15), %rdx
	je	LBB0_7
## %bb.2:
	movq	_AF_LINK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_6
## %bb.3:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rcx), %edi
	movl	$1, %esi
	callq	_ifwithindex
	movq	%rax, %rcx
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.4:
	movl	(%rcx), %eax
	movl	%eax, 16(%r14)
	movq	(%r15), %rax
	movq	%rax, 8(%r14)
	movq	%r14, (%rbx)
	movl	$1, %eax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_AF_LINK,8,3                    ## @AF_LINK
	.no_dead_strip	_get_info_gate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_info_gate
_get_info_gate:                         ; @get_info_gate
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x9, [x8]
Lloh0:
	adrp	x21, _AF_INET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AF_INET@GOTPAGEOFF]
	ldr	x10, [x21]
	cmp	x9, x10
	b.eq	LBB0_5
; %bb.2:
Lloh2:
	adrp	x10, _AF_LINK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AF_LINK@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.3:
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x8, #8]
	mov	w1, #1
	bl	_ifwithindex
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w8, [x0]
	str	w8, [x19, #16]
	ldr	x8, [x21]
	str	x8, [x19, #8]
	str	x19, [x20]
LBB0_5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_LINK,8,3                    ; @AF_LINK
	.no_dead_strip	_get_info_gate
.subsections_via_symbols
