	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function end_reg32
_end_reg32:                             ## @end_reg32
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rsi), %ebx
	movl	4(%rsi), %eax
	addl	%ebx, %ebx
	cmpl	$64, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$32, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$16, %eax
	jne	LBB0_7
## %bb.3:
	movl	%ebx, %edi
	callq	_reg_both
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_reg_b
	movq	_SHF_SC_R_ROT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$9, %edx
	movl	%eax, %ecx
	movl	$8, %r9d
	callq	_emit_ld_field
	movl	%ebx, %edi
	callq	_reg_both
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_reg_a
	movq	_SHF_SC_R_SHF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$14, %edx
	movl	%eax, %ecx
	movl	$16, %r9d
	callq	_emit_ld_field
	jmp	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_imm_a
	movl	%eax, %r15d
	movl	%ebx, %r12d
	orl	$1, %r12d
	movl	%r12d, %edi
	callq	_reg_b
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_wrp_mov
	movl	%ebx, %edi
	callq	_reg_a
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_wrp_end32
	movq	%r14, %rdi
	callq	_imm_a
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_wrp_end32
	jmp	LBB0_7
LBB0_4:
	movl	%ebx, %edi
	callq	_reg_a
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_wrp_end32
LBB0_5:
	orl	$1, %ebx
	movl	%ebx, %edi
	callq	_reg_both
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_wrp_immed
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHF_SC_R_ROT,4,2               ## @SHF_SC_R_ROT
	.comm	_SHF_SC_R_SHF,4,2               ## @SHF_SC_R_SHF
	.no_dead_strip	_end_reg32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function end_reg32
_end_reg32:                             ; @end_reg32
	.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, x0
	ldp	w9, w8, [x1]
	lsl	w20, w9, #1
	cmp	w8, #64
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #32
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #16
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_reg_both
	mov	x21, x0
	mov	x0, x20
	bl	_reg_b
	mov	x3, x0
Lloh0:
	adrp	x8, _SHF_SC_R_ROT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHF_SC_R_ROT@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #9
	mov	w5, #8
	bl	_emit_ld_field
	mov	x0, x20
	bl	_reg_both
	mov	x21, x0
	mov	x0, x20
	bl	_reg_a
	mov	x3, x0
Lloh3:
	adrp	x8, _SHF_SC_R_SHF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHF_SC_R_SHF@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #14
	mov	w5, #16
	bl	_emit_ld_field
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_imm_a
	mov	x21, x0
	orr	w22, w20, #0x1
	mov	x0, x22
	bl	_reg_b
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_wrp_mov
	mov	x0, x20
	bl	_reg_a
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_wrp_end32
	mov	x0, x19
	bl	_imm_a
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_wrp_end32
	b	LBB0_7
LBB0_5:
	mov	x0, x20
	bl	_reg_a
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_wrp_end32
LBB0_6:
	orr	w0, w20, #0x1
	bl	_reg_both
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_wrp_immed
LBB0_7:
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_SHF_SC_R_ROT,4,2               ; @SHF_SC_R_ROT
	.comm	_SHF_SC_R_SHF,4,2               ; @SHF_SC_R_SHF
	.no_dead_strip	_end_reg32
.subsections_via_symbols
