	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_globalize_reg                  ## -- Begin function globalize_reg
	.p2align	4, 0x90
_globalize_reg:                         ## @globalize_reg
	.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	%edi, %r14d
	movq	_fixed_regs@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	%edi, %rbx
	cmpl	$0, (%rax,%rbx,4)
	jne	LBB0_3
## %bb.1:
	movq	_no_global_reg_vars@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_3:
	movq	_global_regs@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpl	$0, (%rax,%rbx,4)
	je	LBB0_4
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warning                        ## TAILCALL
LBB0_4:
	movq	_call_used_regs@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpl	$0, (%rcx,%rbx,4)
	je	LBB0_7
## %bb.5:
	movq	(%r15), %rcx
	cmpl	$0, (%rcx,%rbx,4)
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	xorl	%edi, %edi
	callq	_warning
	movq	(%r13), %rax
LBB0_7:
	movl	$1, (%rax,%rbx,4)
	movq	_STACK_POINTER_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_regs_invalidated_by_call@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_SET_HARD_REG_BIT
LBB0_9:
	movq	(%r15), %rax
	cmpl	$0, (%rax,%rbx,4)
	je	LBB0_12
## %bb.10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_call_fixed_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$1, (%rcx,%rbx,4)
	movq	(%r12), %rcx
	movl	$1, (%rcx,%rbx,4)
	movl	$1, (%rax,%rbx,4)
	movq	_fixed_reg_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_SET_HARD_REG_BIT
	movq	_call_used_reg_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_SET_HARD_REG_BIT
	movq	_call_fixed_reg_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SET_HARD_REG_BIT               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fixed_regs,8,3                 ## @fixed_regs
	.comm	_no_global_reg_vars,8,3         ## @no_global_reg_vars
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"global register variable follows a function definition"

	.comm	_global_regs,8,3                ## @global_regs
L_.str.1:                               ## @.str.1
	.asciz	"register used for two global register variables"

	.comm	_call_used_regs,8,3             ## @call_used_regs
L_.str.2:                               ## @.str.2
	.asciz	"call-clobbered register used for global register variable"

	.comm	_STACK_POINTER_REGNUM,4,2       ## @STACK_POINTER_REGNUM
	.comm	_regs_invalidated_by_call,4,2   ## @regs_invalidated_by_call
	.comm	_call_fixed_regs,8,3            ## @call_fixed_regs
	.comm	_fixed_reg_set,4,2              ## @fixed_reg_set
	.comm	_call_used_reg_set,4,2          ## @call_used_reg_set
	.comm	_call_fixed_reg_set,4,2         ## @call_fixed_reg_set
	.comm	_call_really_used_regs,8,3      ## @call_really_used_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_globalize_reg                  ; -- Begin function globalize_reg
	.p2align	2
_globalize_reg:                         ; @globalize_reg
	.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	x19, x0
Lloh0:
	adrp	x21, _fixed_regs@GOTPAGE
Lloh1:
	ldr	x21, [x21, _fixed_regs@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w8, [x8, w0, sxtw #2]
	sxtw	x20, w19
Lloh2:
	adrp	x9, _no_global_reg_vars@GOTPAGE
Lloh3:
	ldr	x9, [x9, _no_global_reg_vars@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh7:
	adrp	x23, _global_regs@GOTPAGE
Lloh8:
	ldr	x23, [x23, _global_regs@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w9, [x8, x20, lsl #2]
	cbz	w9, LBB0_4
; %bb.3:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #0
	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	_warning
LBB0_4:
Lloh11:
	adrp	x22, _call_used_regs@GOTPAGE
Lloh12:
	ldr	x22, [x22, _call_used_regs@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w9, [x9, x20, lsl #2]
	cbz	w9, LBB0_7
; %bb.5:
	ldr	x9, [x21]
	ldr	w9, [x9, x20, lsl #2]
	cbnz	w9, LBB0_7
; %bb.6:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #0
	bl	_warning
	ldr	x8, [x23]
LBB0_7:
	mov	w9, #1
	str	w9, [x8, x20, lsl #2]
Lloh15:
	adrp	x8, _STACK_POINTER_REGNUM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STACK_POINTER_REGNUM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_9
; %bb.8:
Lloh18:
	adrp	x8, _regs_invalidated_by_call@GOTPAGE
Lloh19:
	ldr	x8, [x8, _regs_invalidated_by_call@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_SET_HARD_REG_BIT
LBB0_9:
	ldr	x8, [x21]
	ldr	w9, [x8, x20, lsl #2]
	cbz	w9, LBB0_11
; %bb.10:
	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
	ret
LBB0_11:
Lloh21:
	adrp	x9, _call_fixed_regs@GOTPAGE
Lloh22:
	ldr	x9, [x9, _call_fixed_regs@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	lsl	x10, x20, #2
	mov	w11, #1
	str	w11, [x9, x10]
	ldr	x9, [x22]
	str	w11, [x9, x10]
	str	w11, [x8, x10]
Lloh24:
	adrp	x8, _fixed_reg_set@GOTPAGE
Lloh25:
	ldr	x8, [x8, _fixed_reg_set@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_SET_HARD_REG_BIT
Lloh27:
	adrp	x8, _call_used_reg_set@GOTPAGE
Lloh28:
	ldr	x8, [x8, _call_used_reg_set@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_SET_HARD_REG_BIT
Lloh30:
	adrp	x8, _call_fixed_reg_set@GOTPAGE
Lloh31:
	ldr	x8, [x8, _call_fixed_reg_set@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x19
	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	_SET_HARD_REG_BIT
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_fixed_regs,8,3                 ; @fixed_regs
	.comm	_no_global_reg_vars,8,3         ; @no_global_reg_vars
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"global register variable follows a function definition"

	.comm	_global_regs,8,3                ; @global_regs
l_.str.1:                               ; @.str.1
	.asciz	"register used for two global register variables"

	.comm	_call_used_regs,8,3             ; @call_used_regs
l_.str.2:                               ; @.str.2
	.asciz	"call-clobbered register used for global register variable"

	.comm	_STACK_POINTER_REGNUM,4,2       ; @STACK_POINTER_REGNUM
	.comm	_regs_invalidated_by_call,4,2   ; @regs_invalidated_by_call
	.comm	_call_fixed_regs,8,3            ; @call_fixed_regs
	.comm	_fixed_reg_set,4,2              ; @fixed_reg_set
	.comm	_call_used_reg_set,4,2          ; @call_used_reg_set
	.comm	_call_fixed_reg_set,4,2         ; @call_fixed_reg_set
	.comm	_call_really_used_regs,8,3      ; @call_really_used_regs
.subsections_via_symbols
