	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_output_division           ## -- Begin function mips_output_division
	.p2align	4, 0x90
_mips_output_division:                  ## @mips_output_division
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_TARGET_FIX_R4000@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TARGET_FIX_R4400@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_output_asm_insn
	leaq	L_.str(%rip), %rbx
LBB0_2:
	movq	_TARGET_CHECK_ZERO_DIV@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.3:
	movq	_TARGET_MIPS16@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_8
LBB0_5:
	movq	_GENERATE_DIVIDE_TRAPS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	_output_asm_insn
	leaq	L_.str.4(%rip), %r15
LBB0_8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_output_asm_insn
	movq	%r15, %rbx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_FIX_R4000,8,3           ## @TARGET_FIX_R4000
	.comm	_TARGET_FIX_R4400,8,3           ## @TARGET_FIX_R4400
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nop"

	.comm	_TARGET_CHECK_ZERO_DIV,8,3      ## @TARGET_CHECK_ZERO_DIV
	.comm	_TARGET_MIPS16,8,3              ## @TARGET_MIPS16
L_.str.1:                               ## @.str.1
	.asciz	"bnez\t%2,1f\n\tbreak\t7\n1:"

	.comm	_GENERATE_DIVIDE_TRAPS,8,3      ## @GENERATE_DIVIDE_TRAPS
L_.str.2:                               ## @.str.2
	.asciz	"teq\t%2,%.,7"

L_.str.3:                               ## @.str.3
	.asciz	"%(bne\t%2,%.,1f"

L_.str.4:                               ## @.str.4
	.asciz	"break\t7%)\n1:"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_output_division           ; -- Begin function mips_output_division
	.p2align	2
_mips_output_division:                  ; @mips_output_division
	.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
Lloh0:
	adrp	x8, _TARGET_FIX_R4000@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_FIX_R4000@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TARGET_FIX_R4400@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TARGET_FIX_R4400@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	orr	x8, x8, x9
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_output_asm_insn
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:
Lloh8:
	adrp	x8, _TARGET_CHECK_ZERO_DIV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TARGET_CHECK_ZERO_DIV@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.3:
Lloh11:
	adrp	x8, _TARGET_MIPS16@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TARGET_MIPS16@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh14:
	adrp	x21, l_.str.1@PAGE
Lloh15:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh16:
	adrp	x8, _GENERATE_DIVIDE_TRAPS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GENERATE_DIVIDE_TRAPS@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh19:
	adrp	x21, l_.str.2@PAGE
Lloh20:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_output_asm_insn
Lloh23:
	adrp	x21, l_.str.4@PAGE
Lloh24:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	bl	_output_asm_insn
	mov	x20, x21
LBB0_9:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_FIX_R4000,8,3           ; @TARGET_FIX_R4000
	.comm	_TARGET_FIX_R4400,8,3           ; @TARGET_FIX_R4400
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nop"

	.comm	_TARGET_CHECK_ZERO_DIV,8,3      ; @TARGET_CHECK_ZERO_DIV
	.comm	_TARGET_MIPS16,8,3              ; @TARGET_MIPS16
l_.str.1:                               ; @.str.1
	.asciz	"bnez\t%2,1f\n\tbreak\t7\n1:"

	.comm	_GENERATE_DIVIDE_TRAPS,8,3      ; @GENERATE_DIVIDE_TRAPS
l_.str.2:                               ; @.str.2
	.asciz	"teq\t%2,%.,7"

l_.str.3:                               ; @.str.3
	.asciz	"%(bne\t%2,%.,1f"

l_.str.4:                               ; @.str.4
	.asciz	"break\t7%)\n1:"

.subsections_via_symbols
