	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dev_ifsioc_locked
_dev_ifsioc_locked:                     ## @dev_ifsioc_locked
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movl	52(%rsi), %esi
	callq	___dev_get_by_name
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	addl	$-128, %ebx
	cmpl	$7, %ebx
	ja	LBB0_14
## %bb.3:
	movq	%rax, %r15
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_13:
	movl	(%r15), %eax
	movl	%eax, 4(%r14)
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_14:
	movl	$1, %edi
	callq	_WARN_ON
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_16:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	44(%r15), %eax
	movl	%eax, 44(%r14)
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_5:
	movl	$0, 48(%r14)
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_11:
	movl	28(%r15), %eax
	movl	%eax, 32(%r14)
	movl	24(%r15), %eax
	movl	%eax, 28(%r14)
	movups	8(%r15), %xmm0
	movups	%xmm0, 12(%r14)
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_12:
	movl	4(%r15), %eax
	movl	%eax, 8(%r14)
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_7:
	movslq	36(%r15), %rsi
	movl	40(%r14), %ebx
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.9:
	movl	40(%r15), %r12d
	movl	$4, %edi
	callq	_min
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_memcpy
	jmp	LBB0_10
LBB0_4:
	movq	%r15, %rdi
	callq	_dev_get_flags
	movw	%ax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_8:
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_10:
	movl	32(%r15), %eax
	movl	%eax, 36(%r14)
	xorl	%eax, %eax
	jmp	LBB0_17
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_dev_ifsioc_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dev_ifsioc_locked
_dev_ifsioc_locked:                     ; @dev_ifsioc_locked
	.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
	mov	x21, x2
	mov	x19, x1
	ldr	w1, [x1, #52]
	bl	___dev_get_by_name
	cbz	x0, LBB0_4
; %bb.1:
	sub	w8, w21, #128
	cmp	w8, #7
	b.hi	LBB0_5
; %bb.2:
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	w0, #0
	ldr	w8, [x20]
	str	w8, [x19, #4]
	b	LBB0_8
LBB0_4:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	w0, #1
	bl	_WARN_ON
LBB0_6:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
LBB0_9:
	mov	w0, #0
	ldr	w8, [x20, #44]
	str	w8, [x19, #44]
	b	LBB0_8
LBB0_10:
	mov	w0, #0
	str	wzr, [x19, #48]
	b	LBB0_8
LBB0_11:
	mov	w0, #0
	ldr	d0, [x20, #24]
	stur	d0, [x19, #28]
	ldur	q0, [x20, #8]
	stur	q0, [x19, #12]
	b	LBB0_8
LBB0_12:
	mov	w0, #0
	ldr	w8, [x20, #4]
	str	w8, [x19, #8]
	b	LBB0_8
LBB0_13:
	ldrsw	x1, [x20, #36]
	ldr	w21, [x19, #40]
	cbz	w1, LBB0_16
; %bb.14:
	ldr	w22, [x20, #40]
	mov	w0, #4
	bl	_min
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	b	LBB0_17
LBB0_15:
	mov	x0, x20
	bl	_dev_get_flags
	mov	x8, x0
	mov	w0, #0
	strh	w8, [x19]
	b	LBB0_8
LBB0_16:
	mov	x0, x21
	mov	w2, #4
	bl	_memset
LBB0_17:
	mov	w0, #0
	ldr	w8, [x20, #32]
	str	w8, [x19, #36]
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_dev_ifsioc_locked
.subsections_via_symbols
