	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in6_gif_ioctl                  ## -- Begin function in6_gif_ioctl
	.p2align	4, 0x90
_in6_gif_ioctl:                         ## @in6_gif_ioctl
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, %r14
	leal	-129(%rbx), %eax
	cmpl	$2, %eax
	jae	LBB0_1
## %bb.19:
	movq	(%r14), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_20
LBB0_8:
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_23
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	$128, %ebx
	jne	LBB0_23
## %bb.2:
	movq	16(%r13), %rax
	cmpq	(%r13), %rax
	jne	LBB0_23
## %bb.3:
	movq	_AF_INET6@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_23
## %bb.4:
	cmpl	$16, 24(%r13)
	jne	LBB0_23
## %bb.5:
	cmpl	$16, 8(%r13)
	jne	LBB0_23
## %bb.6:
	leaq	28(%r13), %rbx
	movq	%rbx, %rdi
	callq	_IN6_IS_ADDR_UNSPECIFIED
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	leaq	12(%r13), %r15
	movq	%r15, %rdi
	callq	_IN6_IS_ADDR_UNSPECIFIED
	testl	%eax, %eax
	jne	LBB0_8
## %bb.9:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%r13), %rdi
	xorl	%esi, %esi
	callq	_sa6_embedscope
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_23
## %bb.10:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_sa6_embedscope
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_23
## %bb.11:
	movq	_V_ipv6_hashtbl@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_gif_hashinit
	movq	%rax, (%r15)
	xorl	%eax, %eax
	callq	_gif_hashinit
	movq	_V_ipv6_srchashtbl@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_in6_gif_checkdup
	movl	%eax, %r13d
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_15
## %bb.14:
	movl	%r13d, %r15d
	jmp	LBB0_23
LBB0_20:
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	(%r12), %rax
	movq	%rax, (%r13)
	movl	$16, 8(%r13)
	xorl	%eax, %eax
	cmpl	$129, %ebx
	sete	%al
	movq	8(%r14), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 12(%r13)
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_prison_if
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:
	movq	%r13, %rdi
	callq	_sa6_recoverscope
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_23
LBB0_22:
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	%ebx, %r15d
LBB0_23:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpl	(%rax), %r13d
	je	LBB0_23
## %bb.16:
	movq	_M_GIF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$12, %edi
	callq	_malloc
	movq	%rax, %r15
	movl	(%rbx), %eax
	movl	%eax, 4(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_IPV6_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	cmpq	$0, (%r14)
	je	LBB0_18
## %bb.17:
	movq	_srchash@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_CK_LIST_REMOVE
	movq	_chain@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_CK_LIST_REMOVE
	xorl	%eax, %eax
	callq	_GIF_WAIT
	movl	16(%r14), %edi
	movq	_M_GIF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
LBB0_18:
	movq	(%r12), %rax
	movq	%rax, (%r14)
	movq	%r15, 8(%r14)
	movq	%r14, %rdi
	callq	_in6_gif_attach
	movq	%r14, %rdi
	callq	_in6_gif_set_running
	movl	%r13d, %r15d
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_EADDRNOTAVAIL,4,2              ## @EADDRNOTAVAIL
	.comm	_V_ipv6_hashtbl,8,3             ## @V_ipv6_hashtbl
	.comm	_V_ipv6_srchashtbl,8,3          ## @V_ipv6_srchashtbl
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_M_GIF,4,2                      ## @M_GIF
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_IPV6_VERSION,4,2               ## @IPV6_VERSION
	.comm	_srchash,4,2                    ## @srchash
	.comm	_chain,4,2                      ## @chain
	.comm	_curthread,8,3                  ## @curthread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in6_gif_ioctl                  ; -- Begin function in6_gif_ioctl
	.p2align	2
_in6_gif_ioctl:                         ; @in6_gif_ioctl
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	sub	w8, w1, #129
	cmp	w8, #2
	b.hs	LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x20, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AF_INET6@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_15
LBB0_2:
Lloh2:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	b	LBB0_18
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	cmp	w22, #128
	b.ne	LBB0_18
; %bb.4:
	mov	x24, x21
	ldr	x8, [x24, #16]!
	ldr	x9, [x21]
Lloh8:
	adrp	x25, _AF_INET6@GOTPAGE
Lloh9:
	ldr	x25, [x25, _AF_INET6@GOTPAGEOFF]
	ldr	x10, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #0, eq
	b.ne	LBB0_18
; %bb.5:
	ldr	w8, [x21, #24]
	ldr	w9, [x21, #8]
	cmp	w8, #16
	ccmp	w9, #16, #0, eq
	b.ne	LBB0_18
; %bb.6:
	add	x22, x21, #28
	mov	x0, x22
	bl	_IN6_IS_ADDR_UNSPECIFIED
	cbnz	w0, LBB0_2
; %bb.7:
	add	x23, x21, #12
	mov	x0, x23
	bl	_IN6_IS_ADDR_UNSPECIFIED
	cbnz	w0, LBB0_2
; %bb.8:
	mov	x0, x24
	mov	w1, #0
	bl	_sa6_embedscope
	mov	x20, x0
	cbnz	w0, LBB0_18
; %bb.9:
	mov	x0, x21
	mov	w1, #0
	bl	_sa6_embedscope
	mov	x20, x0
	cbnz	w0, LBB0_18
; %bb.10:
Lloh10:
	adrp	x20, _V_ipv6_hashtbl@GOTPAGE
Lloh11:
	ldr	x20, [x20, _V_ipv6_hashtbl@GOTPAGEOFF]
	ldr	x8, [x20]
	cbnz	x8, LBB0_12
; %bb.11:
	bl	_gif_hashinit
	str	x0, [x20]
	bl	_gif_hashinit
Lloh12:
	adrp	x8, _V_ipv6_srchashtbl@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V_ipv6_srchashtbl@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
LBB0_12:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_in6_gif_checkdup
	mov	x20, x0
Lloh15:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_18
; %bb.13:
Lloh18:
	adrp	x8, _EEXIST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_19
; %bb.14:
	mov	w20, #0
	b	LBB0_18
LBB0_15:
	mov	w23, #16
	mov	x0, x21
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x20]
	str	w23, [x21, #8]
	cmp	w22, #129
	cset	w9, eq
	ldr	x10, [x19, #8]
	ldr	w9, [x10, w9, uxtw #2]
	str	x8, [x21]
	str	w9, [x21, #12]
Lloh21:
	adrp	x8, _curthread@GOTPAGE
Lloh22:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_prison_if
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.16:
	mov	x0, x21
	bl	_sa6_recoverscope
	mov	x20, x0
	cbz	w0, LBB0_18
LBB0_17:
	mov	x0, x21
	mov	w1, #0
	mov	w2, #16
	bl	_memset
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
Lloh24:
	adrp	x24, _M_GIF@GOTPAGE
Lloh25:
	ldr	x24, [x24, _M_GIF@GOTPAGEOFF]
Lloh26:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh30:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #12
	bl	_malloc
	mov	x21, x0
	ldr	w8, [x22]
	ldr	w9, [x23]
	stp	w9, w8, [x0]
Lloh32:
	adrp	x8, _IPV6_VERSION@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IPV6_VERSION@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	x8, [x19]
	cbz	x8, LBB0_21
; %bb.20:
Lloh35:
	adrp	x8, _srchash@GOTPAGE
Lloh36:
	ldr	x8, [x8, _srchash@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CK_LIST_REMOVE
Lloh38:
	adrp	x8, _chain@GOTPAGE
Lloh39:
	ldr	x8, [x8, _chain@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CK_LIST_REMOVE
	bl	_GIF_WAIT
	ldr	w0, [x19, #16]
	ldr	w1, [x24]
	bl	_free
LBB0_21:
	ldr	x8, [x25]
	stp	x8, x21, [x19]
	mov	x0, x19
	bl	_in6_gif_attach
	mov	x0, x19
	bl	_in6_gif_set_running
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_EADDRNOTAVAIL,4,2              ; @EADDRNOTAVAIL
	.comm	_V_ipv6_hashtbl,8,3             ; @V_ipv6_hashtbl
	.comm	_V_ipv6_srchashtbl,8,3          ; @V_ipv6_srchashtbl
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_M_GIF,4,2                      ; @M_GIF
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_IPV6_VERSION,4,2               ; @IPV6_VERSION
	.comm	_srchash,4,2                    ; @srchash
	.comm	_chain,4,2                      ; @chain
	.comm	_curthread,8,3                  ; @curthread
.subsections_via_symbols
