	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function llflags_get
_llflags_get:                           ## @llflags_get
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	_PF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	$-1, %r12d
	testl	%eax, %eax
	js	LBB0_17
## %bb.1:
	movl	%eax, %r15d
	leaq	-48(%rbp), %rdi
	callq	_getifaddrs
	testq	%rax, %rax
	jne	LBB0_17
## %bb.2:
	movq	-48(%rbp), %r14
	movl	$-1, %r12d
	testq	%r14, %r14
	je	LBB0_13
## %bb.3:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r14), %r14
	testq	%r14, %r14
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r14), %edi
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rbx
	movq	(%rbx), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	4(%rbx), %rdi
	callq	_IN6_IS_ADDR_LINKLOCAL
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	-56(%rbp), %edi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_strlcpy
	cmpl	$4, %eax
	jb	LBB0_9
## %bb.8:
	movq	-48(%rbp), %rdi
	callq	_freeifaddrs
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$-1, %r12d
	jmp	LBB0_16
LBB0_13:
	movb	$1, %bl
LBB0_14:
	movl	%r15d, %edi
	callq	_close
	movq	-48(%rbp), %rdi
	callq	_freeifaddrs
	testb	%bl, %bl
	je	LBB0_17
## %bb.15:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_16:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
LBB0_17:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	-60(%rbp), %rdi
	movl	(%rbx), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movq	_SIOCGIFAFLAG_IN6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	movl	%r15d, %edi
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_10
## %bb.11:
	movl	-64(%rbp), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_10:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-48(%rbp), %rdi
	callq	_freeifaddrs
	movl	$-1, %r12d
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_INET6,4,2                   ## @PF_INET6
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_SIOCGIFAFLAG_IN6,4,2           ## @SIOCGIFAFLAG_IN6
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_llflags_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function llflags_get
_llflags_get:                           ; @llflags_get
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_INET6@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
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	bl	_getifaddrs
	cbz	x0, LBB0_4
LBB0_2:
	mov	w21, #-1
LBB0_3:
	mov	x0, x21
	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
LBB0_4:
	ldr	x23, [sp, #8]
	cbz	x23, LBB0_12
; %bb.5:
Lloh6:
	adrp	x24, _AF_INET6@GOTPAGE
Lloh7:
	ldr	x24, [x24, _AF_INET6@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x23, [x23, #16]
	cbz	x23, LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #8]
	mov	x1, x21
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x22, [x23]
	ldr	x8, [x22]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, x22, #4
	bl	_IN6_IS_ADDR_LINKLOCAL
	cbz	w0, LBB0_6
; %bb.10:
	add	x23, sp, #16
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	w0, [sp, #24]
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
	cmp	w0, #4
	b.lo	LBB0_16
; %bb.11:
	ldr	x0, [sp, #8]
	bl	_freeifaddrs
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	mov	w21, #-1
	b	LBB0_15
LBB0_12:
	mov	w21, #-1
	mov	w22, #1
LBB0_13:
	mov	x0, x19
	bl	_close
	ldr	x0, [sp, #8]
	bl	_freeifaddrs
	cbz	w22, LBB0_3
; %bb.14:
Lloh11:
	adrp	x8, _ENOENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
LBB0_15:
Lloh14:
	adrp	x8, _errno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh16:
	str	w19, [x8]
	b	LBB0_3
LBB0_16:
	orr	x0, x23, #0x4
	ldr	w2, [x22]
	mov	x1, x22
	bl	_memcpy
Lloh17:
	adrp	x8, _SIOCGIFAFLAG_IN6@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SIOCGIFAFLAG_IN6@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x2, sp, #16
	mov	x0, x19
	bl	_ioctl
	tbnz	x0, #63, LBB0_18
; %bb.17:
	mov	w22, #0
	mov	w21, #0
	ldr	w8, [sp, #16]
	str	w8, [x20]
	b	LBB0_13
LBB0_18:
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
	ldr	x0, [sp, #8]
	bl	_freeifaddrs
	mov	w21, #-1
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_INET6,4,2                   ; @PF_INET6
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_SIOCGIFAFLAG_IN6,4,2           ; @SIOCGIFAFLAG_IN6
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_llflags_get
.subsections_via_symbols
