	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_add_to_rel
_arm_add_to_rel:                        ## @arm_add_to_rel
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	(%rdx), %eax
	movq	_R_ARM_THM_CALL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.5:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_bfd_get_16
	movl	%r15d, %ebx
	movl	%eax, %r15d
	leaq	8(%r14), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_bfd_get_16
	movl	%r15d, %ecx
	shll	$12, %ecx
	andl	$8384512, %ecx                  ## imm = 0x7FF000
	movl	%eax, %edx
	andl	$2047, %edx                     ## imm = 0x7FF
	leal	(%rcx,%rdx,2), %esi
	addl	%ebx, %esi
	movl	%esi, %ebx
	shrl	%ebx
	andl	$63488, %r15d                   ## imm = 0xF800
	shrl	$12, %esi
	andl	$2047, %esi                     ## imm = 0x7FF
	orl	%r15d, %esi
	andl	$63488, %eax                    ## imm = 0xF800
	andl	$2047, %ebx                     ## imm = 0x7FF
	orl	%eax, %ebx
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_bfd_put_16
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bfd_put_16                     ## TAILCALL
LBB0_1:
	movq	%rdx, %rbx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_bfd_get_32
	movl	(%rbx), %ecx
	movl	4(%rbx), %esi
	movl	%esi, %edx
	andl	%eax, %edx
	leal	1(%rsi), %edi
	sarl	%edi
	notl	%esi
	orl	%eax, %esi
	testl	%edx, %edi
	cmovel	%edx, %esi
	andl	$-4, %ecx
	cmpl	$128, %ecx
	jne	LBB0_2
## %bb.3:
	movb	8(%rbx), %cl
	movb	12(%rbx), %dl
	shll	%cl, %esi
	addl	%r15d, %esi
	movl	%edx, %ecx
	sarl	%cl, %esi
	jmp	LBB0_4
LBB0_2:
	addl	%r15d, %esi
LBB0_4:
	xorl	%eax, %esi
	andl	16(%rbx), %esi
	xorl	%eax, %esi
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bfd_put_32                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R_ARM_THM_CALL,4,2             ## @R_ARM_THM_CALL
	.no_dead_strip	_arm_add_to_rel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_add_to_rel
_arm_add_to_rel:                        ; @arm_add_to_rel
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _R_ARM_THM_CALL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R_ARM_THM_CALL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_bfd_get_16
	mov	x22, x0
	add	x23, x20, #8
	mov	x0, x19
	mov	x1, x23
	bl	_bfd_get_16
	ubfiz	w8, w22, #12, #11
	bfi	w8, w0, #1, #11
	add	w8, w8, w21
	and	w1, w22, #0xf800
	bfxil	w1, w8, #12, #11
	and	w21, w0, #0xf800
	bfxil	w21, w8, #1, #11
	mov	x0, x19
	mov	x2, x20
	bl	_bfd_put_16
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bfd_put_16
LBB0_2:
	mov	x22, x2
	mov	x0, x19
	mov	x1, x20
	bl	_bfd_get_32
	ldp	w9, w8, [x22]
	and	w10, w8, w0
	add	w11, w8, #1
	orn	w8, w0, w8
	tst	w10, w11, asr #1
	csel	w8, w10, w8, eq
	and	w9, w9, #0xfffffffc
	cmp	w9, #128
	b.ne	LBB0_4
; %bb.3:
	ldp	w9, w10, [x22, #8]
	lsl	w8, w8, w9
	add	w8, w8, w21
	asr	w8, w8, w10
	b	LBB0_5
LBB0_4:
	add	w8, w8, w21
LBB0_5:
	ldr	w9, [x22, #16]
	bic	w10, w0, w9
	and	w8, w9, w8
	orr	w1, w10, w8
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bfd_put_32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_R_ARM_THM_CALL,4,2             ; @R_ARM_THM_CALL
	.no_dead_strip	_arm_add_to_rel
.subsections_via_symbols
