	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_open_file
_input_open_file:                       ## @input_open_file
	.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	%rsi, %r14
	movq	%rdi, %r15
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_lock_kernel
	movq	_input_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r15, %rdi
	callq	_iminor
	sarl	$5, %eax
	cltq
	movq	(%rbx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	(%rax), %rdi
	callq	_fops_get
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.3:
	movq	(%r14), %r12
	movq	%rax, (%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	*%rcx
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rdi
	callq	_fops_put
	movq	%r12, %rdi
	callq	_fops_get
	movq	%rax, (%r14)
LBB0_5:
	movq	%r12, %rdi
	callq	_fops_put
	jmp	LBB0_9
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	%rax, %rdi
	callq	_fops_put
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
LBB0_8:
	subl	(%rax), %r13d
LBB0_9:
	xorl	%eax, %eax
	callq	_unlock_kernel
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_input_table,8,3                ## @input_table
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_input_open_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_open_file
_input_open_file:                       ; @input_open_file
	.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	x19, x1
	mov	x20, x0
	bl	_lock_kernel
Lloh0:
	adrp	x8, _input_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _input_table@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	mov	x0, x20
	bl	_iminor
	asr	w8, w0, #5
	ldr	x8, [x21, w8, sxtw #3]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	x0, [x8]
	bl	_fops_get
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x21, [x19]
	str	x0, [x19]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.4:
	ldr	x0, [x19]
	bl	_fops_put
	mov	x0, x21
	bl	_fops_get
	str	x0, [x19]
LBB0_5:
	mov	x0, x21
	bl	_fops_put
	b	LBB0_8
LBB0_6:
	bl	_fops_put
LBB0_7:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_8:
	bl	_unlock_kernel
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_input_table,8,3                ; @input_table
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_input_open_file
.subsections_via_symbols
