	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_idiv_insns                ## -- Begin function mips_idiv_insns
	.p2align	4, 0x90
_mips_idiv_insns:                       ## @mips_idiv_insns
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TARGET_CHECK_ZERO_DIV@GOTPCREL(%rip), %rax
	movq	_GENERATE_DIVIDE_TRAPS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	$0, (%rcx)
	sete	%dl
	orl	$2, %edx
	cmpq	$0, (%rax)
	movl	$1, %ecx
	cmovnel	%edx, %ecx
	movq	_TARGET_FIX_R4000@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_TARGET_FIX_R4400@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	orq	(%rsi), %rdx
	setne	%al
	addl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_CHECK_ZERO_DIV,8,3      ## @TARGET_CHECK_ZERO_DIV
	.comm	_GENERATE_DIVIDE_TRAPS,8,3      ## @GENERATE_DIVIDE_TRAPS
	.comm	_TARGET_FIX_R4000,8,3           ## @TARGET_FIX_R4000
	.comm	_TARGET_FIX_R4400,8,3           ## @TARGET_FIX_R4400
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_idiv_insns                ; -- Begin function mips_idiv_insns
	.p2align	2
_mips_idiv_insns:                       ; @mips_idiv_insns
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TARGET_CHECK_ZERO_DIV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_CHECK_ZERO_DIV@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _GENERATE_DIVIDE_TRAPS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GENERATE_DIVIDE_TRAPS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, #0
	mov	w9, #2
	cinc	w9, w9, eq
	cmp	x8, #0
	csinc	w8, w9, wzr, ne
Lloh6:
	adrp	x9, _TARGET_FIX_R4000@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TARGET_FIX_R4000@GOTPAGEOFF]
Lloh8:
	adrp	x10, _TARGET_FIX_R4400@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TARGET_FIX_R4400@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	ldr	x10, [x10]
	orr	x9, x9, x10
	cmp	x9, #0
	cinc	w0, w8, ne
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_CHECK_ZERO_DIV,8,3      ; @TARGET_CHECK_ZERO_DIV
	.comm	_GENERATE_DIVIDE_TRAPS,8,3      ; @GENERATE_DIVIDE_TRAPS
	.comm	_TARGET_FIX_R4000,8,3           ; @TARGET_FIX_R4000
	.comm	_TARGET_FIX_R4400,8,3           ; @TARGET_FIX_R4400
.subsections_via_symbols
