	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ix86_select_alt_pic_regnum
_ix86_select_alt_pic_regnum:            ## @ix86_select_alt_pic_regnum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_current_function_is_leaf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.1:
	movq	_current_function_profile@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_9
## %bb.2:
	movq	_ix86_current_function_calls_tls_descriptor@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_9
## %bb.3:
	movq	_regs_ever_live@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_4
## %bb.5:
	cmpl	$0, 4(%rax)
	je	LBB0_6
## %bb.7:
	cmpl	$0, (%rax)
	je	LBB0_8
LBB0_9:
	movq	_INVALID_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	movl	$2, %eax
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_function_is_leaf,8,3   ## @current_function_is_leaf
	.comm	_current_function_profile,4,2   ## @current_function_profile
	.comm	_ix86_current_function_calls_tls_descriptor,4,2 ## @ix86_current_function_calls_tls_descriptor
	.comm	_regs_ever_live,8,3             ## @regs_ever_live
	.comm	_INVALID_REGNUM,4,2             ## @INVALID_REGNUM
	.no_dead_strip	_ix86_select_alt_pic_regnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ix86_select_alt_pic_regnum
_ix86_select_alt_pic_regnum:            ; @ix86_select_alt_pic_regnum
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _current_function_is_leaf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_function_is_leaf@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _current_function_profile@GOTPAGE
Lloh4:
	ldr	x9, [x9, _current_function_profile@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _ix86_current_function_calls_tls_descriptor@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ix86_current_function_calls_tls_descriptor@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	ccmp	w10, #0, #0, eq
	b.ne	LBB0_4
; %bb.1:
Lloh9:
	adrp	x8, _regs_ever_live@GOTPAGE
Lloh10:
	ldr	x8, [x8, _regs_ever_live@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_5
; %bb.2:
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_6
; %bb.3:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
LBB0_4:
Lloh12:
	adrp	x8, _INVALID_REGNUM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INVALID_REGNUM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
LBB0_5:
	mov	w0, #2
	ret
LBB0_6:
	mov	w0, #1
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_current_function_is_leaf,8,3   ; @current_function_is_leaf
	.comm	_current_function_profile,4,2   ; @current_function_profile
	.comm	_ix86_current_function_calls_tls_descriptor,4,2 ; @ix86_current_function_calls_tls_descriptor
	.comm	_regs_ever_live,8,3             ; @regs_ever_live
	.comm	_INVALID_REGNUM,4,2             ; @INVALID_REGNUM
	.no_dead_strip	_ix86_select_alt_pic_regnum
.subsections_via_symbols
