	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_edi_input_mode
_config_edi_input_mode:                 ## @config_edi_input_mode
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	addq	$12, %rbx
	testb	$2, %r15b
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	movl	$2, %ecx
	callq	_write_field
LBB0_2:
	testb	$3, %r15b
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	movl	$3, %ecx
	callq	_write_field
LBB0_4:
	movq	_VPE_EDI_INP_MODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VPE_EDI_INP_MODE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_write_field
	movl	$1, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPE_EDI_INP_MODE_MASK,4,2      ## @VPE_EDI_INP_MODE_MASK
	.comm	_VPE_EDI_INP_MODE_SHIFT,4,2     ## @VPE_EDI_INP_MODE_SHIFT
	.no_dead_strip	_config_edi_input_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_edi_input_mode
_config_edi_input_mode:                 ; @config_edi_input_mode
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	add	x21, x8, #12
	tbz	w1, #1, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	w1, #1
	mov	w2, #1
	mov	w3, #2
	bl	_write_field
LBB0_2:
	tst	w20, #0x3
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	w1, #1
	mov	w2, #1
	mov	w3, #3
	bl	_write_field
LBB0_4:
Lloh0:
	adrp	x8, _VPE_EDI_INP_MODE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPE_EDI_INP_MODE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _VPE_EDI_INP_MODE_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VPE_EDI_INP_MODE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_write_field
	mov	w8, #1
	str	w8, [x19]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VPE_EDI_INP_MODE_MASK,4,2      ; @VPE_EDI_INP_MODE_MASK
	.comm	_VPE_EDI_INP_MODE_SHIFT,4,2     ; @VPE_EDI_INP_MODE_SHIFT
	.no_dead_strip	_config_edi_input_mode
.subsections_via_symbols
