	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_mlnx_ext_port_info_supported ## -- Begin function is_mlnx_ext_port_info_supported
	.p2align	4, 0x90
_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
                                        ## kill: def $esi killed $esi def $rsi
	movq	_ibd_ibnetdisc_flags@GOTPCREL(%rip), %rax
	movq	_IBND_CONFIG_MLX_EPI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_18
## %bb.1:
	movl	%esi, %ecx
	andl	$-4, %ecx
	movl	$1, %eax
	cmpl	$51000, %ecx                    ## imm = 0xC738
	je	LBB0_16
## %bb.2:
	cmpl	$52000, %esi                    ## imm = 0xCB20
	je	LBB0_16
## %bb.3:
	cmpl	$53000, %esi                    ## imm = 0xCF08
	jne	LBB0_4
LBB0_16:
	popq	%rbp
	retq
LBB0_4:
	cmpl	$4511, %edi                     ## imm = 0x119F
	jne	LBB0_17
## %bb.5:
	cmpl	$6914, %esi                     ## imm = 0x1B02
	je	LBB0_16
## %bb.6:
	cmpl	$6992, %esi                     ## imm = 0x1B50
	je	LBB0_16
## %bb.7:
	cmpl	$7072, %esi                     ## imm = 0x1BA0
	je	LBB0_16
## %bb.8:
	leal	-7120(%rsi), %ecx
	cmpl	$6, %ecx
	jb	LBB0_16
## %bb.9:
	leal	-4099(%rsi), %ecx
	cmpl	$21, %ecx
	jb	LBB0_16
## %bb.10:
	leal	-6963(%rsi), %ecx
	cmpl	$46, %ecx
	jbe	LBB0_14
LBB0_11:
	leal	-7027(%rsi), %ecx
	cmpl	$33, %ecx
	ja	LBB0_12
## %bb.15:
	movabsq	$12884967425, %rdx              ## imm = 0x300010001
	btq	%rcx, %rdx
	jb	LBB0_16
LBB0_12:
	addl	$-7092, %esi                    ## imm = 0xE44C
	cmpl	$16, %esi
	ja	LBB0_18
## %bb.13:
	movl	$65539, %ecx                    ## imm = 0x10003
	btl	%esi, %ecx
	jb	LBB0_16
	jmp	LBB0_18
LBB0_17:
	addl	$-4099, %esi                    ## imm = 0xEFFD
	cmpl	$21, %esi
	jb	LBB0_16
LBB0_18:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_14:
	movabsq	$105553116291073, %rdx          ## imm = 0x600000006001
	btq	%rcx, %rdx
	jb	LBB0_16
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ibd_ibnetdisc_flags,4,2        ## @ibd_ibnetdisc_flags
	.comm	_IBND_CONFIG_MLX_EPI,4,2        ## @IBND_CONFIG_MLX_EPI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_mlnx_ext_port_info_supported ; -- Begin function is_mlnx_ext_port_info_supported
	.p2align	2
_is_mlnx_ext_port_info_supported:       ; @is_mlnx_ext_port_info_supported
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _ibd_ibnetdisc_flags@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ibd_ibnetdisc_flags@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IBND_CONFIG_MLX_EPI@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IBND_CONFIG_MLX_EPI@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_19
; %bb.1:
	mov	w9, #12750
	cmp	w9, w1, lsr #2
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	ret
LBB0_3:
	mov	x8, x0
	mov	w0, #1
	mov	w9, #52000
	cmp	w1, w9
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #53000
	cmp	w1, w9
	b.ne	LBB0_6
LBB0_5:
	ret
LBB0_6:
	mov	w9, #4511
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.7:
	mov	w0, #1
	mov	w8, #6914
	cmp	w1, w8
	b.eq	LBB0_5
; %bb.8:
	mov	w8, #6992
	cmp	w1, w8
	b.eq	LBB0_5
; %bb.9:
	mov	w8, #7072
	cmp	w1, w8
	b.eq	LBB0_5
; %bb.10:
	mov	w8, #-7120
	add	w8, w1, w8
	mov	w0, #1
	cmp	w8, #6
	b.lo	LBB0_5
; %bb.11:
	mov	w8, #-4099
	add	w8, w1, w8
	cmp	w8, #21
	b.lo	LBB0_5
; %bb.12:
	mov	w0, #1
	mov	w8, #-6963
	add	w8, w1, w8
	cmp	w8, #46
	b.ls	LBB0_20
LBB0_13:
	mov	w8, #-7027
	add	w8, w1, w8
	cmp	w8, #33
	b.hi	LBB0_15
; %bb.14:
	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_5
LBB0_15:
	mov	w8, #-7092
	add	w8, w1, w8
	cmp	w8, #16
	b.hi	LBB0_19
; %bb.16:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #3
	movk	w9, #1, lsl #16
	tst	w8, w9
	b.ne	LBB0_5
	b	LBB0_19
LBB0_17:
	mov	w8, #-4099
	add	w8, w1, w8
	cmp	w8, #21
	b.hs	LBB0_19
; %bb.18:
	mov	w0, #1
	ret
LBB0_19:
	mov	w0, #0
	ret
LBB0_20:
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #24577
	movk	x9, #24576, lsl #32
	tst	x8, x9
	b.ne	LBB0_5
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ibd_ibnetdisc_flags,4,2        ; @ibd_ibnetdisc_flags
	.comm	_IBND_CONFIG_MLX_EPI,4,2        ; @IBND_CONFIG_MLX_EPI
.subsections_via_symbols
