	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_pad_arg_upward            ## -- Begin function mips_pad_arg_upward
	.p2align	4, 0x90
_mips_pad_arg_upward:                   ## @mips_pad_arg_upward
	.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	_BYTES_BIG_ENDIAN@GOTPCREL(%rip), %rax
	movb	$1, %r15b
	cmpl	$0, (%rax)
	je	LBB0_19
## %bb.1:
	movq	%rsi, %rbx
	movl	%edi, %r14d
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_INTEGRAL_TYPE_P
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:
	movq	%rbx, %rdi
	callq	_POINTER_TYPE_P
	testq	%rax, %rax
	jne	LBB0_3
## %bb.11:
	movq	_mips_abi@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ABI_O64@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.12:
	movq	%rbx, %rdi
	callq	_FLOAT_TYPE_P
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_14
LBB0_4:
	movl	%r14d, %edi
	callq	_GET_MODE_CLASS
	movq	_MODE_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.8:
	movq	_mips_abi@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ABI_O64@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.9:
	movl	%r14d, %edi
	callq	_GET_MODE_CLASS
	movq	_MODE_FLOAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
LBB0_3:
	xorl	%r15d, %r15d
LBB0_19:
	movzbl	%r15b, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_mips_abi@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ABI_EABI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.15:
	movq	_BLKmode@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_int_size_in_bytes
	movl	%eax, %ecx
	movq	_PARM_BOUNDARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BITS_PER_UNIT@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	cmpl	%eax, %ecx
	jmp	LBB0_18
LBB0_17:
	movl	%r14d, %edi
	callq	_GET_MODE_BITSIZE
	movq	_PARM_BOUNDARY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
LBB0_18:
	setge	%r15b
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_BYTES_BIG_ENDIAN,4,2           ## @BYTES_BIG_ENDIAN
	.comm	_MODE_INT,8,3                   ## @MODE_INT
	.comm	_mips_abi,8,3                   ## @mips_abi
	.comm	_ABI_O64,8,3                    ## @ABI_O64
	.comm	_MODE_FLOAT,8,3                 ## @MODE_FLOAT
	.comm	_ABI_EABI,8,3                   ## @ABI_EABI
	.comm	_BLKmode,4,2                    ## @BLKmode
	.comm	_PARM_BOUNDARY,4,2              ## @PARM_BOUNDARY
	.comm	_BITS_PER_UNIT,4,2              ## @BITS_PER_UNIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_pad_arg_upward            ; -- Begin function mips_pad_arg_upward
	.p2align	2
_mips_pad_arg_upward:                   ; @mips_pad_arg_upward
	.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
Lloh0:
	adrp	x8, _BYTES_BIG_ENDIAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BYTES_BIG_ENDIAN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	cbz	x1, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_INTEGRAL_TYPE_P
	cbnz	x0, LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_POINTER_TYPE_P
	cbnz	x0, LBB0_9
; %bb.4:
Lloh3:
	adrp	x8, _mips_abi@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mips_abi@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _ABI_O64@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ABI_O64@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_FLOAT_TYPE_P
	cbnz	w0, LBB0_9
	b	LBB0_10
LBB0_6:
	mov	x0, x20
	bl	_GET_MODE_CLASS
Lloh9:
	adrp	x8, _MODE_INT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MODE_INT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.7:
Lloh12:
	adrp	x8, _mips_abi@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mips_abi@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _ABI_O64@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ABI_O64@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_GET_MODE_CLASS
Lloh18:
	adrp	x8, _MODE_FLOAT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MODE_FLOAT@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
LBB0_9:
	mov	w0, #0
	b	LBB0_14
LBB0_10:
Lloh21:
	adrp	x8, _mips_abi@GOTPAGE
Lloh22:
	ldr	x8, [x8, _mips_abi@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _ABI_EABI@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ABI_EABI@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:
Lloh27:
	adrp	x8, _BLKmode@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BLKmode@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_15
; %bb.12:
	mov	x0, x19
	bl	_int_size_in_bytes
Lloh30:
	adrp	x8, _PARM_BOUNDARY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PARM_BOUNDARY@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _BITS_PER_UNIT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _BITS_PER_UNIT@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	b	LBB0_16
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x0, x20
	bl	_GET_MODE_BITSIZE
Lloh36:
	adrp	x8, _PARM_BOUNDARY@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PARM_BOUNDARY@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
LBB0_16:
	cmp	w0, w8
	cset	w0, ge
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_BYTES_BIG_ENDIAN,4,2           ; @BYTES_BIG_ENDIAN
	.comm	_MODE_INT,8,3                   ; @MODE_INT
	.comm	_mips_abi,8,3                   ; @mips_abi
	.comm	_ABI_O64,8,3                    ; @ABI_O64
	.comm	_MODE_FLOAT,8,3                 ; @MODE_FLOAT
	.comm	_ABI_EABI,8,3                   ; @ABI_EABI
	.comm	_BLKmode,4,2                    ; @BLKmode
	.comm	_PARM_BOUNDARY,4,2              ; @PARM_BOUNDARY
	.comm	_BITS_PER_UNIT,4,2              ; @BITS_PER_UNIT
.subsections_via_symbols
