	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_mlnx_ext_port_info_supported
_is_mlnx_ext_port_info_supported:       ## @is_mlnx_ext_port_info_supported
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %edi
	movq	_IB_NODE_DEVID_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_mad_get_field
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	_IB_NODE_VENDORID_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_mad_get_field
	movl	%eax, %ecx
	movl	%r14d, %edx
	andl	$-4, %edx
	movl	$1, %eax
	cmpl	$51000, %edx                    ## imm = 0xC738
	je	LBB0_15
## %bb.1:
	cmpl	$52000, %r14d                   ## imm = 0xCB20
	je	LBB0_15
## %bb.2:
	cmpl	$53000, %r14d                   ## imm = 0xCF08
	je	LBB0_15
## %bb.3:
	cmpl	$4511, %ecx                     ## imm = 0x119F
	jne	LBB0_16
## %bb.4:
	cmpl	$6914, %r14d                    ## imm = 0x1B02
	je	LBB0_15
## %bb.5:
	cmpl	$6992, %r14d                    ## imm = 0x1B50
	je	LBB0_15
## %bb.6:
	cmpl	$7072, %r14d                    ## imm = 0x1BA0
	je	LBB0_15
## %bb.7:
	leal	-7120(%r14), %ecx
	cmpl	$6, %ecx
	jb	LBB0_15
## %bb.8:
	leal	-4099(%r14), %ecx
	cmpl	$21, %ecx
	jb	LBB0_15
## %bb.9:
	leal	-6963(%r14), %ecx
	cmpl	$46, %ecx
	jbe	LBB0_13
LBB0_10:
	leal	-7027(%r14), %ecx
	cmpl	$33, %ecx
	ja	LBB0_11
## %bb.14:
	movabsq	$12884967425, %rdx              ## imm = 0x300010001
	btq	%rcx, %rdx
	jb	LBB0_15
LBB0_11:
	addl	$-7092, %r14d                   ## imm = 0xE44C
	cmpl	$16, %r14d
	ja	LBB0_17
## %bb.12:
	movl	$65539, %ecx                    ## imm = 0x10003
	btl	%r14d, %ecx
	jb	LBB0_15
	jmp	LBB0_17
LBB0_16:
	addl	$-4099, %r14d                   ## imm = 0xEFFD
	cmpl	$21, %r14d
	jb	LBB0_15
LBB0_17:
	xorl	%eax, %eax
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_13:
	movabsq	$105553116291073, %rdx          ## imm = 0x600000006001
	btq	%rcx, %rdx
	jb	LBB0_15
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_NODE_DEVID_F,4,2            ## @IB_NODE_DEVID_F
	.comm	_IB_NODE_VENDORID_F,4,2         ## @IB_NODE_VENDORID_F
	.no_dead_strip	_is_mlnx_ext_port_info_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_mlnx_ext_port_info_supported
_is_mlnx_ext_port_info_supported:       ; @is_mlnx_ext_port_info_supported
	.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	x20, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _IB_NODE_DEVID_F@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_NODE_DEVID_F@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_mad_get_field
	mov	x19, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _IB_NODE_VENDORID_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_NODE_VENDORID_F@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_mad_get_field
	mov	w8, #12750
	cmp	w8, w19, lsr #2
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #52000
	cmp	w19, w8
	mov	w8, #53000
	ccmp	w19, w8, #4, ne
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w8, #4511
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.5:
	mov	w8, #6914
	cmp	w19, w8
	mov	w8, #6992
	ccmp	w19, w8, #4, ne
	mov	w8, #7072
	ccmp	w19, w8, #4, ne
	b.eq	LBB0_2
; %bb.6:
	mov	w8, #-7120
	add	w8, w19, w8
	mov	w9, #-4099
	add	w9, w19, w9
	cmp	w8, #6
	mov	w0, #1
	ccmp	w9, #21, #0, hs
	b.lo	LBB0_3
; %bb.7:
	mov	w8, #-6963
	add	w8, w19, w8
	cmp	w8, #46
	b.ls	LBB0_14
LBB0_8:
	mov	w8, #-7027
	add	w8, w19, w8
	cmp	w8, #33
	b.hi	LBB0_10
; %bb.9:
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #1
	movk	x9, #1, lsl #16
	movk	x9, #3, lsl #32
	tst	x8, x9
	b.ne	LBB0_3
LBB0_10:
	mov	w8, #-7092
	add	w8, w19, w8
	cmp	w8, #16
	b.hi	LBB0_13
; %bb.11:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #3
	movk	w9, #1, lsl #16
	tst	w8, w9
	b.ne	LBB0_3
	b	LBB0_13
LBB0_12:
	mov	w8, #-4099
	add	w8, w19, w8
	cmp	w8, #21
	b.lo	LBB0_2
LBB0_13:
	mov	w0, #0
	b	LBB0_3
LBB0_14:
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #24577
	movk	x9, #24576, lsl #32
	tst	x8, x9
	b.ne	LBB0_3
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_NODE_DEVID_F,4,2            ; @IB_NODE_DEVID_F
	.comm	_IB_NODE_VENDORID_F,4,2         ; @IB_NODE_VENDORID_F
	.no_dead_strip	_is_mlnx_ext_port_info_supported
.subsections_via_symbols
