	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stf_ioctl
_stf_ioctl:                             ## @stf_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_13
## %bb.1:
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.9:
	movl	4(%rdx), %eax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
	jmp	LBB0_15
LBB0_10:
	movl	(%rdx), %eax
	movq	_IPV6_MINMTU@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_13
## %bb.11:
	movq	_IF_MAXMTU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$-20, %ecx
	cmpl	%ecx, %eax
	jg	LBB0_13
## %bb.12:
	movl	%eax, (%r14)
	jmp	LBB0_15
LBB0_2:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	(%rdx), %r15
	movl	(%r15), %eax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_IN6_IS_ADDR_6TO4
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:
	movq	%r15, %rdi
	callq	_GET_V4
	leaq	-32(%rbp), %r15
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_bcopy
	movq	%r15, %rdi
	callq	_isrfc1918addr
	testl	%eax, %eax
	je	LBB0_7
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_4:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_15
	.long	L0_0_set_8
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.comm	_IPV6_MINMTU,4,2                ## @IPV6_MINMTU
	.comm	_IF_MAXMTU,4,2                  ## @IF_MAXMTU
	.no_dead_strip	_stf_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stf_ioctl
_stf_ioctl:                             ; @stf_ioctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_12
; %bb.1:
	mov	x19, x0
	mov	w0, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	cbz	x2, LBB0_13
; %bb.3:
	ldr	w8, [x2, #4]
Lloh2:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.4:
	mov	w0, #0
	b	LBB0_15
LBB0_5:
	ldr	w8, [x2]
Lloh5:
	adrp	x9, _IPV6_MINMTU@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IPV6_MINMTU@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_12
; %bb.6:
Lloh8:
	adrp	x9, _IF_MAXMTU@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IF_MAXMTU@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	sub	w9, w9, #20
	cmp	w8, w9
	b.gt	LBB0_12
; %bb.7:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_15
LBB0_8:
	cbz	x2, LBB0_13
; %bb.9:
	ldr	x20, [x2]
	ldr	w8, [x20]
Lloh11:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.10:
	mov	x0, x20
	bl	_IN6_IS_ADDR_6TO4
	cbz	w0, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_GET_V4
	add	x1, sp, #8
	mov	w2, #4
	bl	_bcopy
	add	x0, sp, #8
	bl	_isrfc1918addr
	cbz	w0, LBB0_16
LBB0_12:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh16:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_16:
Lloh18:
	adrp	x8, _IFF_UP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IFF_UP@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #4]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _IFF_DRV_RUNNING@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w9, w10, w9
	stp	w9, w8, [x19, #4]
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.comm	_IPV6_MINMTU,4,2                ; @IPV6_MINMTU
	.comm	_IF_MAXMTU,4,2                  ; @IF_MAXMTU
	.no_dead_strip	_stf_ioctl
.subsections_via_symbols
