	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_check_required_hca_cap
_mlx5e_check_required_hca_cap:          ## @mlx5e_check_required_hca_cap
	.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, %r14
	movq	_port_type@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	movq	_MLX5_CAP_PORT_TYPE_ETH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_eth_net_offloads@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_GEN
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	_nic_flow_table@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_GEN
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	_csum_cap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_ETH
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movq	_max_lso_cap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_ETH
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movq	_vlan_cap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_ETH
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	_rss_ind_tbl_cap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_ETH
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	_flow_table_properties_nic_receive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_FLOWTABLE
	cmpl	$2, %eax
	jg	LBB0_10
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_mlx5_core_warn
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	_self_lb_en_modifiable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_ETH
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_mlx5_core_warn
LBB0_12:
	movq	_cq_moderation@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_GEN
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_mlx5_core_warn
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_port_type,4,2                  ## @port_type
	.comm	_MLX5_CAP_PORT_TYPE_ETH,8,3     ## @MLX5_CAP_PORT_TYPE_ETH
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_eth_net_offloads,4,2           ## @eth_net_offloads
	.comm	_nic_flow_table,4,2             ## @nic_flow_table
	.comm	_csum_cap,4,2                   ## @csum_cap
	.comm	_max_lso_cap,4,2                ## @max_lso_cap
	.comm	_vlan_cap,4,2                   ## @vlan_cap
	.comm	_rss_ind_tbl_cap,4,2            ## @rss_ind_tbl_cap
	.comm	_flow_table_properties_nic_receive,4,2 ## @flow_table_properties_nic_receive
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not creating net device, some required device capabilities are missing\n"

	.comm	_self_lb_en_modifiable,4,2      ## @self_lb_en_modifiable
L_.str.1:                               ## @.str.1
	.asciz	"Self loop back prevention is not supported\n"

	.comm	_cq_moderation,4,2              ## @cq_moderation
L_.str.2:                               ## @.str.2
	.asciz	"CQ moderation is not supported\n"

	.no_dead_strip	_mlx5e_check_required_hca_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_check_required_hca_cap
_mlx5e_check_required_hca_cap:          ; @mlx5e_check_required_hca_cap
	.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, x0
Lloh0:
	adrp	x8, _port_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _port_type@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
Lloh3:
	adrp	x8, _MLX5_CAP_PORT_TYPE_ETH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_CAP_PORT_TYPE_ETH@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
Lloh6:
	adrp	x8, _eth_net_offloads@GOTPAGE
Lloh7:
	ldr	x8, [x8, _eth_net_offloads@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
	cbz	x0, LBB0_8
; %bb.2:
Lloh9:
	adrp	x8, _nic_flow_table@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nic_flow_table@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
	cbz	x0, LBB0_8
; %bb.3:
Lloh12:
	adrp	x8, _csum_cap@GOTPAGE
Lloh13:
	ldr	x8, [x8, _csum_cap@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_ETH
	cbz	w0, LBB0_8
; %bb.4:
Lloh15:
	adrp	x8, _max_lso_cap@GOTPAGE
Lloh16:
	ldr	x8, [x8, _max_lso_cap@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_ETH
	cbz	w0, LBB0_8
; %bb.5:
Lloh18:
	adrp	x8, _vlan_cap@GOTPAGE
Lloh19:
	ldr	x8, [x8, _vlan_cap@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_ETH
	cbz	w0, LBB0_8
; %bb.6:
Lloh21:
	adrp	x8, _rss_ind_tbl_cap@GOTPAGE
Lloh22:
	ldr	x8, [x8, _rss_ind_tbl_cap@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_ETH
	cbz	w0, LBB0_8
; %bb.7:
Lloh24:
	adrp	x8, _flow_table_properties_nic_receive@GOTPAGE
Lloh25:
	ldr	x8, [x8, _flow_table_properties_nic_receive@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_FLOWTABLE
	cmp	w0, #2
	b.gt	LBB0_11
LBB0_8:
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_warn
LBB0_9:
Lloh29:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh32:
	adrp	x8, _self_lb_en_modifiable@GOTPAGE
Lloh33:
	ldr	x8, [x8, _self_lb_en_modifiable@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_ETH
	cbnz	w0, LBB0_13
; %bb.12:
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_warn
LBB0_13:
Lloh37:
	adrp	x8, _cq_moderation@GOTPAGE
Lloh38:
	ldr	x8, [x8, _cq_moderation@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
	cbnz	x0, LBB0_15
; %bb.14:
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_warn
LBB0_15:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_port_type,4,2                  ; @port_type
	.comm	_MLX5_CAP_PORT_TYPE_ETH,8,3     ; @MLX5_CAP_PORT_TYPE_ETH
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_eth_net_offloads,4,2           ; @eth_net_offloads
	.comm	_nic_flow_table,4,2             ; @nic_flow_table
	.comm	_csum_cap,4,2                   ; @csum_cap
	.comm	_max_lso_cap,4,2                ; @max_lso_cap
	.comm	_vlan_cap,4,2                   ; @vlan_cap
	.comm	_rss_ind_tbl_cap,4,2            ; @rss_ind_tbl_cap
	.comm	_flow_table_properties_nic_receive,4,2 ; @flow_table_properties_nic_receive
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not creating net device, some required device capabilities are missing\n"

	.comm	_self_lb_en_modifiable,4,2      ; @self_lb_en_modifiable
l_.str.1:                               ; @.str.1
	.asciz	"Self loop back prevention is not supported\n"

	.comm	_cq_moderation,4,2              ; @cq_moderation
l_.str.2:                               ; @.str.2
	.asciz	"CQ moderation is not supported\n"

	.no_dead_strip	_mlx5e_check_required_hca_cap
.subsections_via_symbols
