	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_cmd_query_device        ## -- Begin function mlx5dr_cmd_query_device
	.p2align	4, 0x90
_mlx5dr_cmd_query_device:               ## @mlx5dr_cmd_query_device
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_prio_tag_required@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	movq	%rax, 112(%rbx)
	movq	_eswitch_manager@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_GEN
	movq	%rax, 104(%rbx)
	movq	_vhca_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_GEN
	movq	%rax, 96(%rbx)
	movq	_flex_parser_protocols@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_GEN
	movq	%rax, 88(%rbx)
	movq	%rbx, %rdi
	callq	_mlx5dr_matcher_supp_flex_parser_icmp_v4
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_flex_parser_id_icmp_dw0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_GEN
	movq	%rax, 80(%rbx)
	movq	_flex_parser_id_icmp_dw1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_GEN
	movq	%rax, 72(%rbx)
LBB0_2:
	movq	%rbx, %rdi
	callq	_mlx5dr_matcher_supp_flex_parser_icmp_v6
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_flex_parser_id_icmpv6_dw0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_GEN
	movq	%rax, 64(%rbx)
	movq	_flex_parser_id_icmpv6_dw1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_GEN
	movq	%rax, 56(%rbx)
LBB0_4:
	movq	_sw_steering_nic_rx_action_drop_icm_address@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP64_FLOWTABLE
	movq	%rax, 48(%rbx)
	movq	_sw_steering_nic_tx_action_drop_icm_address@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP64_FLOWTABLE
	movq	%rax, 40(%rbx)
	movq	_sw_steering_nic_tx_action_allow_icm_address@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP64_FLOWTABLE
	movq	%rax, 32(%rbx)
	movq	_sw_owner@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_FLOWTABLE_NIC_RX
	movq	%rax, 24(%rbx)
	movq	_max_ft_level@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_FLOWTABLE_NIC_RX
	movq	%rax, 16(%rbx)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_FLOWTABLE_NIC_TX
	movl	%eax, 12(%rbx)
	movq	_log_steering_sw_icm_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_DEV_MEM
	movl	%eax, 8(%rbx)
	movq	_header_modify_sw_icm_start_address@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP64_DEV_MEM
	movl	%eax, 4(%rbx)
	movq	_r_roce_min_src_udp_port@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MLX5_CAP_ROCE
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_prio_tag_required,4,2          ## @prio_tag_required
	.comm	_eswitch_manager,4,2            ## @eswitch_manager
	.comm	_vhca_id,4,2                    ## @vhca_id
	.comm	_flex_parser_protocols,4,2      ## @flex_parser_protocols
	.comm	_flex_parser_id_icmp_dw0,4,2    ## @flex_parser_id_icmp_dw0
	.comm	_flex_parser_id_icmp_dw1,4,2    ## @flex_parser_id_icmp_dw1
	.comm	_flex_parser_id_icmpv6_dw0,4,2  ## @flex_parser_id_icmpv6_dw0
	.comm	_flex_parser_id_icmpv6_dw1,4,2  ## @flex_parser_id_icmpv6_dw1
	.comm	_sw_steering_nic_rx_action_drop_icm_address,4,2 ## @sw_steering_nic_rx_action_drop_icm_address
	.comm	_sw_steering_nic_tx_action_drop_icm_address,4,2 ## @sw_steering_nic_tx_action_drop_icm_address
	.comm	_sw_steering_nic_tx_action_allow_icm_address,4,2 ## @sw_steering_nic_tx_action_allow_icm_address
	.comm	_sw_owner,4,2                   ## @sw_owner
	.comm	_max_ft_level,4,2               ## @max_ft_level
	.comm	_log_steering_sw_icm_size,4,2   ## @log_steering_sw_icm_size
	.comm	_header_modify_sw_icm_start_address,4,2 ## @header_modify_sw_icm_start_address
	.comm	_r_roce_min_src_udp_port,4,2    ## @r_roce_min_src_udp_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_cmd_query_device        ; -- Begin function mlx5dr_cmd_query_device
	.p2align	2
_mlx5dr_cmd_query_device:               ; @mlx5dr_cmd_query_device
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, _prio_tag_required@GOTPAGE
Lloh1:
	ldr	x8, [x8, _prio_tag_required@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
	str	x0, [x19, #112]
Lloh3:
	adrp	x8, _eswitch_manager@GOTPAGE
Lloh4:
	ldr	x8, [x8, _eswitch_manager@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_GEN
	str	x0, [x19, #104]
Lloh6:
	adrp	x8, _vhca_id@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vhca_id@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_GEN
	str	x0, [x19, #96]
Lloh9:
	adrp	x8, _flex_parser_protocols@GOTPAGE
Lloh10:
	ldr	x8, [x8, _flex_parser_protocols@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_GEN
	str	x0, [x19, #88]
	mov	x0, x19
	bl	_mlx5dr_matcher_supp_flex_parser_icmp_v4
	cbz	x0, LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _flex_parser_id_icmp_dw0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _flex_parser_id_icmp_dw0@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_GEN
	str	x0, [x19, #80]
Lloh15:
	adrp	x8, _flex_parser_id_icmp_dw1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _flex_parser_id_icmp_dw1@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_GEN
	str	x0, [x19, #72]
LBB0_2:
	mov	x0, x19
	bl	_mlx5dr_matcher_supp_flex_parser_icmp_v6
	cbz	x0, LBB0_4
; %bb.3:
Lloh18:
	adrp	x8, _flex_parser_id_icmpv6_dw0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _flex_parser_id_icmpv6_dw0@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_GEN
	str	x0, [x19, #64]
Lloh21:
	adrp	x8, _flex_parser_id_icmpv6_dw1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _flex_parser_id_icmpv6_dw1@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_GEN
	str	x0, [x19, #56]
LBB0_4:
Lloh24:
	adrp	x8, _sw_steering_nic_rx_action_drop_icm_address@GOTPAGE
Lloh25:
	ldr	x8, [x8, _sw_steering_nic_rx_action_drop_icm_address@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP64_FLOWTABLE
	str	x0, [x19, #48]
Lloh27:
	adrp	x8, _sw_steering_nic_tx_action_drop_icm_address@GOTPAGE
Lloh28:
	ldr	x8, [x8, _sw_steering_nic_tx_action_drop_icm_address@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP64_FLOWTABLE
	str	x0, [x19, #40]
Lloh30:
	adrp	x8, _sw_steering_nic_tx_action_allow_icm_address@GOTPAGE
Lloh31:
	ldr	x8, [x8, _sw_steering_nic_tx_action_allow_icm_address@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP64_FLOWTABLE
	str	x0, [x19, #32]
Lloh33:
	adrp	x21, _sw_owner@GOTPAGE
Lloh34:
	ldr	x21, [x21, _sw_owner@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_MLX5_CAP_FLOWTABLE_NIC_RX
	str	x0, [x19, #24]
Lloh35:
	adrp	x8, _max_ft_level@GOTPAGE
Lloh36:
	ldr	x8, [x8, _max_ft_level@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_FLOWTABLE_NIC_RX
	str	x0, [x19, #16]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_MLX5_CAP_FLOWTABLE_NIC_TX
	str	w0, [x19, #12]
Lloh38:
	adrp	x8, _log_steering_sw_icm_size@GOTPAGE
Lloh39:
	ldr	x8, [x8, _log_steering_sw_icm_size@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_DEV_MEM
	str	w0, [x19, #8]
Lloh41:
	adrp	x8, _header_modify_sw_icm_start_address@GOTPAGE
Lloh42:
	ldr	x8, [x8, _header_modify_sw_icm_start_address@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP64_DEV_MEM
	str	w0, [x19, #4]
Lloh44:
	adrp	x8, _r_roce_min_src_udp_port@GOTPAGE
Lloh45:
	ldr	x8, [x8, _r_roce_min_src_udp_port@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_ROCE
	str	w0, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_prio_tag_required,4,2          ; @prio_tag_required
	.comm	_eswitch_manager,4,2            ; @eswitch_manager
	.comm	_vhca_id,4,2                    ; @vhca_id
	.comm	_flex_parser_protocols,4,2      ; @flex_parser_protocols
	.comm	_flex_parser_id_icmp_dw0,4,2    ; @flex_parser_id_icmp_dw0
	.comm	_flex_parser_id_icmp_dw1,4,2    ; @flex_parser_id_icmp_dw1
	.comm	_flex_parser_id_icmpv6_dw0,4,2  ; @flex_parser_id_icmpv6_dw0
	.comm	_flex_parser_id_icmpv6_dw1,4,2  ; @flex_parser_id_icmpv6_dw1
	.comm	_sw_steering_nic_rx_action_drop_icm_address,4,2 ; @sw_steering_nic_rx_action_drop_icm_address
	.comm	_sw_steering_nic_tx_action_drop_icm_address,4,2 ; @sw_steering_nic_tx_action_drop_icm_address
	.comm	_sw_steering_nic_tx_action_allow_icm_address,4,2 ; @sw_steering_nic_tx_action_allow_icm_address
	.comm	_sw_owner,4,2                   ; @sw_owner
	.comm	_max_ft_level,4,2               ; @max_ft_level
	.comm	_log_steering_sw_icm_size,4,2   ; @log_steering_sw_icm_size
	.comm	_header_modify_sw_icm_start_address,4,2 ; @header_modify_sw_icm_start_address
	.comm	_r_roce_min_src_udp_port,4,2    ; @r_roce_min_src_udp_port
.subsections_via_symbols
