	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_regs
_dump_regs:                             ## @dump_regs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_T4_REGDUMP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_T5_REGDUMP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_max
	movl	%eax, %ebx
	movl	$1, %edi
	movl	%eax, %esi
	callq	_calloc
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, -32(%rbp)
	movq	_CHELSIO_T4_REGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_doit
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.3:
	movl	-48(%rbp), %edi
	callq	_get_card_vers
	movl	-48(%rbp), %ecx
	shrl	$10, %ecx
	andl	$63, %ecx
	cmpl	$6, %eax
	je	LBB0_11
## %bb.4:
	cmpl	$5, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$4, %eax
	jne	LBB0_14
## %bb.6:
	movq	-40(%rbp), %rdx
	movl	%r15d, %edi
	movq	%r14, %rsi
	cmpl	$63, %ecx
	jne	LBB0_15
## %bb.7:
	callq	_dump_regs_t4vf
	jmp	LBB0_16
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_warnc
	movl	(%rbx), %ebx
	jmp	LBB0_17
LBB0_11:
	movq	-40(%rbp), %rdx
	movl	%r15d, %edi
	movq	%r14, %rsi
	cmpl	$63, %ecx
	jne	LBB0_13
## %bb.12:
	callq	_dump_regs_t6vf
	jmp	LBB0_16
LBB0_8:
	movq	-40(%rbp), %rdx
	movl	%r15d, %edi
	movq	%r14, %rsi
	cmpl	$63, %ecx
	jne	LBB0_10
## %bb.9:
	callq	_dump_regs_t5vf
	jmp	LBB0_16
LBB0_14:
	movq	_nexus@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %edx
	callq	_warnx
	movq	_ENOTSUP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_17
LBB0_13:
	callq	_dump_regs_t6
	jmp	LBB0_16
LBB0_10:
	callq	_dump_regs_t5
	jmp	LBB0_16
LBB0_15:
	callq	_dump_regs_t4
LBB0_16:
	movl	%eax, %ebx
	movq	-40(%rbp), %rdi
	callq	_free
LBB0_17:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_T4_REGDUMP_SIZE,4,2            ## @T4_REGDUMP_SIZE
	.comm	_T5_REGDUMP_SIZE,4,2            ## @T5_REGDUMP_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"regdump"

	.comm	_CHELSIO_T4_REGDUMP,4,2         ## @CHELSIO_T4_REGDUMP
L_.str.1:                               ## @.str.1
	.asciz	"%s (type %d, rev %d) is not a known card."

	.comm	_nexus,4,2                      ## @nexus
	.comm	_ENOTSUP,4,2                    ## @ENOTSUP
	.no_dead_strip	_dump_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_regs
_dump_regs:                             ; @dump_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _T4_REGDUMP_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _T4_REGDUMP_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _T5_REGDUMP_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _T5_REGDUMP_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_max
	mov	x21, x0
	mov	w0, #1
	mov	x1, x21
	bl	_calloc
	str	x0, [sp, #16]
	cbz	x0, LBB0_7
; %bb.1:
	str	w21, [sp, #24]
Lloh6:
	adrp	x8, _CHELSIO_T4_REGDUMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHELSIO_T4_REGDUMP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_doit
	mov	x21, x0
	cbnz	w0, LBB0_17
; %bb.2:
	ldr	w0, [sp, #8]
	bl	_get_card_vers
	ldr	w8, [sp, #8]
	ubfx	w3, w8, #10, #6
	cmp	w0, #6
	b.eq	LBB0_8
; %bb.3:
	mov	x2, x0
	cmp	w0, #5
	b.eq	LBB0_10
; %bb.4:
	cmp	w2, #4
	b.ne	LBB0_12
; %bb.5:
	ldr	x2, [sp, #16]
	mov	x0, x20
	mov	x1, x19
	cmp	w3, #63
	b.ne	LBB0_15
; %bb.6:
	bl	_dump_regs_t4vf
	b	LBB0_16
LBB0_7:
Lloh9:
	adrp	x19, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x19, [x19, _ENOMEM@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_warnc
	ldr	w21, [x19]
	b	LBB0_17
LBB0_8:
	ldr	x2, [sp, #16]
	mov	x0, x20
	mov	x1, x19
	cmp	w3, #63
	b.ne	LBB0_13
; %bb.9:
	bl	_dump_regs_t6vf
	b	LBB0_16
LBB0_10:
	ldr	x2, [sp, #16]
	mov	x0, x20
	mov	x1, x19
	cmp	w3, #63
	b.ne	LBB0_14
; %bb.11:
	bl	_dump_regs_t5vf
	b	LBB0_16
LBB0_12:
Lloh13:
	adrp	x8, _nexus@GOTPAGE
Lloh14:
	ldr	x8, [x8, _nexus@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
Lloh18:
	adrp	x8, _ENOTSUP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOTSUP@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	b	LBB0_17
LBB0_13:
	bl	_dump_regs_t6
	b	LBB0_16
LBB0_14:
	bl	_dump_regs_t5
	b	LBB0_16
LBB0_15:
	bl	_dump_regs_t4
LBB0_16:
	mov	x21, x0
	ldr	x0, [sp, #16]
	bl	_free
LBB0_17:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_T4_REGDUMP_SIZE,4,2            ; @T4_REGDUMP_SIZE
	.comm	_T5_REGDUMP_SIZE,4,2            ; @T5_REGDUMP_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"regdump"

	.comm	_CHELSIO_T4_REGDUMP,4,2         ; @CHELSIO_T4_REGDUMP
l_.str.1:                               ; @.str.1
	.asciz	"%s (type %d, rev %d) is not a known card."

	.comm	_nexus,4,2                      ; @nexus
	.comm	_ENOTSUP,4,2                    ; @ENOTSUP
	.no_dead_strip	_dump_regs
.subsections_via_symbols
