	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __maestro_read
___maestro_read:                        ## @__maestro_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_READABLE_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%esi, %eax
	jae	LBB0_1
## %bb.2:
	movq	_ESM_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	callq	_outw
	movq	_ESM_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_inw
	movq	(%r14), %rcx
	movslq	%ebx, %rdx
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_3
LBB0_1:
	movq	(%r14), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READABLE_MAP,4,2               ## @READABLE_MAP
	.comm	_ESM_INDEX,8,3                  ## @ESM_INDEX
	.comm	_ESM_DATA,8,3                   ## @ESM_DATA
	.no_dead_strip	___maestro_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __maestro_read
___maestro_read:                        ; @__maestro_read
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _READABLE_MAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READABLE_MAP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsr	w8, w8, w1
	tbz	w8, #0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _ESM_INDEX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ESM_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_outw
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _ESM_DATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ESM_DATA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_inw
	ldr	x8, [x20]
	str	w0, [x8, w19, sxtw #2]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x20]
	ldr	w0, [x8, w19, sxtw #2]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_READABLE_MAP,4,2               ; @READABLE_MAP
	.comm	_ESM_INDEX,8,3                  ; @ESM_INDEX
	.comm	_ESM_DATA,8,3                   ; @ESM_DATA
	.no_dead_strip	___maestro_read
.subsections_via_symbols
