	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetch_inferior_registers       ## -- Begin function fetch_inferior_registers
	.p2align	4, 0x90
_fetch_inferior_registers:              ## @fetch_inferior_registers
	.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
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_s390_inferior_tid
	movl	%eax, %r14d
	cmpl	$-1, %ebx
	je	LBB0_1
## %bb.3:
	movq	_S390_NUM_REGS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	cmpl	%ebx, %eax
	jle	LBB0_6
## %bb.4:
	movq	_regmap_gregset@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%ebx, %rdx
	cmpl	$-1, (%rcx,%rdx,4)
	je	LBB0_6
## %bb.5:
	movl	%r14d, %edi
	callq	_fetch_regs
	movl	(%r15), %eax
LBB0_6:
	cmpl	%ebx, %eax
	jle	LBB0_8
## %bb.7:
	movq	_regmap_fpregset@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	cmpl	$-1, (%rax,%rcx,4)
	jne	LBB0_2
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%r14d, %edi
	callq	_fetch_regs
LBB0_2:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fetch_fpregs                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_S390_NUM_REGS,4,2              ## @S390_NUM_REGS
	.comm	_regmap_gregset,8,3             ## @regmap_gregset
	.comm	_regmap_fpregset,8,3            ## @regmap_fpregset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetch_inferior_registers       ; -- Begin function fetch_inferior_registers
	.p2align	2
_fetch_inferior_registers:              ; @fetch_inferior_registers
	.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	x20, x0
	bl	_s390_inferior_tid
	mov	x19, x0
	cmn	w20, #1
	b.eq	LBB0_7
; %bb.1:
Lloh0:
	adrp	x21, _S390_NUM_REGS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _S390_NUM_REGS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w20
	b.le	LBB0_4
; %bb.2:
Lloh2:
	adrp	x9, _regmap_gregset@GOTPAGE
Lloh3:
	ldr	x9, [x9, _regmap_gregset@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w9, [x9, w20, sxtw #2]
	cmn	w9, #1
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_fetch_regs
	ldr	w8, [x21]
LBB0_4:
	cmp	w8, w20
	b.le	LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _regmap_fpregset@GOTPAGE
Lloh6:
	ldr	x8, [x8, _regmap_fpregset@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w8, [x8, w20, sxtw #2]
	cmn	w8, #1
	b.ne	LBB0_8
LBB0_6:
	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
LBB0_7:
	mov	x0, x19
	bl	_fetch_regs
LBB0_8:
	mov	x0, x19
	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
	b	_fetch_fpregs
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_S390_NUM_REGS,4,2              ; @S390_NUM_REGS
	.comm	_regmap_gregset,8,3             ; @regmap_gregset
	.comm	_regmap_fpregset,8,3            ; @regmap_fpregset
.subsections_via_symbols
