	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_reg
_read_reg:                              ## @read_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	%rdi, -16(%rbp)
	movslq	%esi, %rax
	movq	%rax, -24(%rbp)
	movq	$0, -32(%rbp)
	movq	_CHELSIO_T4_GETREG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rsi
	callq	_doit
	movq	-32(%rbp), %rcx
	movq	%rcx, (%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHELSIO_T4_GETREG,4,2          ## @CHELSIO_T4_GETREG
	.no_dead_strip	_read_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_reg
_read_reg:                              ; @read_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x2
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x8, w1
	stp	x8, x0, [sp, #16]
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _CHELSIO_T4_GETREG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHELSIO_T4_GETREG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_doit
	ldr	x8, [sp, #8]
	str	x8, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CHELSIO_T4_GETREG,4,2          ; @CHELSIO_T4_GETREG
	.no_dead_strip	_read_reg
.subsections_via_symbols
