	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function approx_reg_cost_1
_approx_reg_cost_1:                     ## @approx_reg_cost_1
	.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	(%rdi), %rbx
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	movq	%rbx, %rdi
	callq	_REG_P
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	callq	_REGNO
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_CHEAP_REGNO
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	_FIRST_PSEUDO_REGISTER@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpl	(%rcx), %ebx
	jae	LBB0_6
## %bb.4:
	movq	_SMALL_REGISTER_CLASSES@GOTPCREL(%rip), %rax
	movl	$1, %r15d
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.5:
	movl	$2, %eax
LBB0_6:
	addl	%eax, (%r14)
	xorl	%r15d, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRST_PSEUDO_REGISTER,4,2      ## @FIRST_PSEUDO_REGISTER
	.comm	_SMALL_REGISTER_CLASSES,8,3     ## @SMALL_REGISTER_CLASSES
	.no_dead_strip	_approx_reg_cost_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function approx_reg_cost_1
_approx_reg_cost_1:                     ; @approx_reg_cost_1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x0, x20
	bl	_REG_P
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_REGNO
	mov	x20, x0
	bl	_CHEAP_REGNO
	cbz	w0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh0:
	adrp	x8, _FIRST_PSEUDO_REGISTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIRST_PSEUDO_REGISTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w20, w8
	b.hs	LBB0_8
; %bb.6:
Lloh3:
	adrp	x8, _SMALL_REGISTER_CLASSES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMALL_REGISTER_CLASSES@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	w0, #1
	b	LBB0_4
LBB0_8:
	mov	w8, #1
	b	LBB0_10
LBB0_9:
	mov	w8, #2
LBB0_10:
	mov	w0, #0
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FIRST_PSEUDO_REGISTER,4,2      ; @FIRST_PSEUDO_REGISTER
	.comm	_SMALL_REGISTER_CLASSES,8,3     ; @SMALL_REGISTER_CLASSES
	.no_dead_strip	_approx_reg_cost_1
.subsections_via_symbols
