	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_swap_reloc_in
_mips_swap_reloc_in:                    ## @mips_swap_reloc_in
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	8(%rsi), %esi
	callq	_H_GET_32
	movl	%eax, 32(%rbx)
	movl	4(%r14), %esi
	movq	%r15, %rdi
	callq	_H_GET_S32
	movl	%eax, (%rbx)
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_H_GET_16
	movl	%eax, 4(%rbx)
	movl	$0, 8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movq	32(%rbx), %rax
	movq	%rax, _mips_swap_reloc_in.pair_prev+32(%rip)
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movups	%xmm1, _mips_swap_reloc_in.pair_prev+16(%rip)
	movups	%xmm0, _mips_swap_reloc_in.pair_prev(%rip)
	jmp	LBB0_4
LBB0_3:
	movl	(%rbx), %eax
	leal	-65536(%rax), %ecx
	testl	$32768, %eax                    ## imm = 0x8000
	cmovel	%eax, %ecx
	movl	%ecx, 8(%rbx)
	movl	_mips_swap_reloc_in.pair_prev(%rip), %eax
	movl	%eax, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_mips_swap_reloc_in.pair_prev,40,3 ## @mips_swap_reloc_in.pair_prev
	.no_dead_strip	_mips_swap_reloc_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_swap_reloc_in
_mips_swap_reloc_in:                    ; @mips_swap_reloc_in
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w1, [x1, #8]
	bl	_H_GET_32
	str	w0, [x19, #32]
	ldr	w1, [x20, #4]
	mov	x0, x21
	bl	_H_GET_S32
	str	w0, [x19]
	ldr	w1, [x20]
	mov	x0, x21
	bl	_H_GET_16
	stp	w0, wzr, [x19, #4]
	stp	xzr, xzr, [x19, #16]
	cmp	w0, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_4
; %bb.2:
	ldp	q0, q1, [x19]
	ldr	x8, [x19, #32]
Lloh0:
	adrp	x9, _mips_swap_reloc_in.pair_prev@PAGE
Lloh1:
	add	x9, x9, _mips_swap_reloc_in.pair_prev@PAGEOFF
	str	x8, [x9, #32]
	stp	q0, q1, [x9]
	b	LBB0_4
LBB0_3:
	ldr	w8, [x19]
	sub	w9, w8, #16, lsl #12            ; =65536
	tst	w8, #0x8000
	csel	w8, w8, w9, eq
	str	w8, [x19, #8]
Lloh2:
	adrp	x8, _mips_swap_reloc_in.pair_prev@PAGE
Lloh3:
	ldr	w8, [x8, _mips_swap_reloc_in.pair_prev@PAGEOFF]
	str	w8, [x19]
LBB0_4:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_mips_swap_reloc_in.pair_prev,40,3 ; @mips_swap_reloc_in.pair_prev
	.no_dead_strip	_mips_swap_reloc_in
.subsections_via_symbols
