	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loioctl                        ## -- Begin function loioctl
	.p2align	4, 0x90
_loioctl:                               ## @loioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_4:
	movl	4(%rdx), %eax
	movl	%eax, 12(%rdi)
	jmp	LBB0_5
LBB0_6:
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	jne	LBB0_18
## %bb.7:
	movq	_LINK_STATE_DOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_8:
	movl	4(%rdi), %ecx
	movl	(%rdx), %eax
	xorl	%ecx, %eax
	movq	_IFCAP_RXCSUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, %eax
	je	LBB0_10
## %bb.9:
	xorl	%edx, %ecx
	movl	%ecx, 4(%rdi)
LBB0_10:
	movq	_IFCAP_TXCSUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%eax, %edx
	je	LBB0_12
## %bb.11:
	xorl	%edx, %ecx
	movl	%ecx, 4(%rdi)
LBB0_12:
	movq	_IFCAP_RXCSUM_IPV6@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	jne	LBB0_14
## %bb.13:
	movq	_IFCAP_TXCSUM_IPV6@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_20
LBB0_14:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
LBB0_16:
	popq	%rbp
	retq
LBB0_17:
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rdi)
LBB0_18:
	movq	_LINK_STATE_UP@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %esi
	callq	_if_link_state_change
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_20:
	movl	$0, 8(%rdi)
	xorl	%eax, %eax
	testl	%edx, %ecx
	je	LBB0_16
## %bb.21:
	movq	_LO_CSUM_FEATURES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_17
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.comm	_LINK_STATE_UP,4,2              ## @LINK_STATE_UP
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_LINK_STATE_DOWN,4,2            ## @LINK_STATE_DOWN
	.comm	_IFCAP_RXCSUM,4,2               ## @IFCAP_RXCSUM
	.comm	_IFCAP_TXCSUM,4,2               ## @IFCAP_TXCSUM
	.comm	_IFCAP_RXCSUM_IPV6,4,2          ## @IFCAP_RXCSUM_IPV6
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_IFCAP_TXCSUM_IPV6,4,2          ## @IFCAP_TXCSUM_IPV6
	.comm	_LO_CSUM_FEATURES,4,2           ## @LO_CSUM_FEATURES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_LO_CSUM_FEATURES6,4,2          ## @LO_CSUM_FEATURES6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loioctl                        ; -- Begin function loioctl
	.p2align	2
_loioctl:                               ; @loioctl
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
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:
Lloh2:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
	b	LBB0_13
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_13
LBB0_4:
	mov	w8, #0
	ldr	w9, [x2, #4]
	str	w9, [x0, #12]
	b	LBB0_17
LBB0_5:
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh8:
	adrp	x10, _LINK_STATE_UP@GOTPAGE
Lloh9:
	ldr	x10, [x10, _LINK_STATE_UP@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x11, _LINK_STATE_DOWN@GOTPAGE
Lloh12:
	ldr	x11, [x11, _LINK_STATE_DOWN@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	b	LBB0_15
LBB0_6:
	ldr	w8, [x0, #4]
	ldr	w9, [x2]
	eor	w9, w9, w8
Lloh13:
	adrp	x10, _IFCAP_RXCSUM@GOTPAGE
Lloh14:
	ldr	x10, [x10, _IFCAP_RXCSUM@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	tst	w9, w10
	b.eq	LBB0_8
; %bb.7:
	eor	w8, w10, w8
	str	w8, [x0, #4]
LBB0_8:
Lloh16:
	adrp	x10, _IFCAP_TXCSUM@GOTPAGE
Lloh17:
	ldr	x10, [x10, _IFCAP_TXCSUM@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.9:
	eor	w8, w8, w10
	str	w8, [x0, #4]
LBB0_10:
Lloh19:
	adrp	x11, _IFCAP_RXCSUM_IPV6@GOTPAGE
Lloh20:
	ldr	x11, [x11, _IFCAP_RXCSUM_IPV6@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
	tst	w11, w9
	b.ne	LBB0_12
; %bb.11:
Lloh22:
	adrp	x11, _IFCAP_TXCSUM_IPV6@GOTPAGE
Lloh23:
	ldr	x11, [x11, _IFCAP_TXCSUM_IPV6@GOTPAGEOFF]
Lloh24:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_18
LBB0_12:
Lloh25:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	b	LBB0_17
LBB0_14:
Lloh27:
	adrp	x8, _IFF_UP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IFF_UP@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
Lloh30:
	adrp	x8, _IFF_DRV_RUNNING@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [x0, #16]
	orr	w8, w9, w8
	str	w8, [x0, #16]
Lloh33:
	adrp	x8, _LINK_STATE_UP@GOTPAGE
Lloh34:
	ldr	x8, [x8, _LINK_STATE_UP@GOTPAGEOFF]
LBB0_15:
	ldr	w1, [x8]
	bl	_if_link_state_change
LBB0_16:
	mov	w8, #0
LBB0_17:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_18:
	str	wzr, [x0, #8]
	tst	w8, w10
	b.eq	LBB0_16
; %bb.19:
	mov	w8, #0
Lloh35:
	adrp	x9, _LO_CSUM_FEATURES@GOTPAGE
Lloh36:
	ldr	x9, [x9, _LO_CSUM_FEATURES@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	str	w9, [x0, #8]
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.comm	_LINK_STATE_UP,4,2              ; @LINK_STATE_UP
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_LINK_STATE_DOWN,4,2            ; @LINK_STATE_DOWN
	.comm	_IFCAP_RXCSUM,4,2               ; @IFCAP_RXCSUM
	.comm	_IFCAP_TXCSUM,4,2               ; @IFCAP_TXCSUM
	.comm	_IFCAP_RXCSUM_IPV6,4,2          ; @IFCAP_RXCSUM_IPV6
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_IFCAP_TXCSUM_IPV6,4,2          ; @IFCAP_TXCSUM_IPV6
	.comm	_LO_CSUM_FEATURES,4,2           ; @LO_CSUM_FEATURES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_LO_CSUM_FEATURES6,4,2          ; @LO_CSUM_FEATURES6
.subsections_via_symbols
