	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_YM2612ResetChip_940            ## -- Begin function YM2612ResetChip_940
	.p2align	4, 0x90
_YM2612ResetChip_940:                   ## @YM2612ResetChip_940
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_shared_data@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_YM2612ResetChip_
	xorl	%eax, %eax
	callq	_internal_reset
	movq	_JOB940_YM2612RESETCHIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_add_job_940                    ## TAILCALL
LBB0_1:
	leaq	L_str(%rip), %rdi
	popq	%rbp
	jmp	_puts                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_shared_data,8,3                ## @shared_data
	.comm	_JOB940_YM2612RESETCHIP,4,2     ## @JOB940_YM2612RESETCHIP
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"YM2612ResetChip_940: reset before init?"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_YM2612ResetChip_940            ; -- Begin function YM2612ResetChip_940
	.p2align	2
_YM2612ResetChip_940:                   ; @YM2612ResetChip_940
	.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
Lloh0:
	adrp	x8, _shared_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _shared_data@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_YM2612ResetChip_
	bl	_internal_reset
Lloh3:
	adrp	x8, _JOB940_YM2612RESETCHIP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JOB940_YM2612RESETCHIP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_add_job_940
LBB0_2:
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_puts
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_shared_data,8,3                ; @shared_data
	.comm	_JOB940_YM2612RESETCHIP,4,2     ; @JOB940_YM2612RESETCHIP
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"YM2612ResetChip_940: reset before init?"

.subsections_via_symbols
