	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t4_get_chip_type
_t4_get_chip_type:                      ## @t4_get_chip_type
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movq	_PL_REV_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_REV_G
	cmpl	$128, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$130, %ebx
	jne	LBB0_7
## %bb.3:
	movl	$130, %edi
	jmp	LBB0_4
LBB0_6:
	movl	$128, %edi
	jmp	LBB0_4
LBB0_5:
	movl	$129, %edi
LBB0_4:
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CHELSIO_CHIP_CODE              ## TAILCALL
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PL_REV_A,4,2                   ## @PL_REV_A
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_t4_get_chip_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t4_get_chip_type
_t4_get_chip_type:                      ; @t4_get_chip_type
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _PL_REV_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PL_REV_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_t4_read_reg
	bl	_REV_G
	mov	x1, x0
	cmp	w19, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w19, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w19, #130
	b.ne	LBB0_7
; %bb.3:
	mov	w0, #130
	b	LBB0_6
LBB0_4:
	mov	w0, #128
	b	LBB0_6
LBB0_5:
	mov	w0, #129
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CHELSIO_CHIP_CODE
LBB0_7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PL_REV_A,4,2                   ; @PL_REV_A
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_t4_get_chip_type
.subsections_via_symbols
