	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_query_nic_system_image_guid ## -- Begin function mlx5_query_nic_system_image_guid
	.p2align	4, 0x90
_mlx5_query_nic_system_image_guid:      ## @mlx5_query_nic_system_image_guid
	.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
	movq	%rdi, %rbx
	movq	_port_type@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	movl	$0, -12(%rbp)
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.1:
	movq	_MLX5_CAP_PORT_TYPE_ETH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	leaq	-12(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mlx5_query_nic_vport_system_image_guid
	jmp	LBB0_4
LBB0_3:
	leaq	-12(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mlx5_query_hca_vport_system_image_guid
LBB0_4:
	movl	-12(%rbp), %ecx
	movl	%ecx, (%rbx)
LBB0_5:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_port_type,4,2                  ## @port_type
	.comm	_MLX5_CAP_PORT_TYPE_ETH,4,2     ## @MLX5_CAP_PORT_TYPE_ETH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_query_nic_system_image_guid ; -- Begin function mlx5_query_nic_system_image_guid
	.p2align	2
_mlx5_query_nic_system_image_guid:      ; @mlx5_query_nic_system_image_guid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _port_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _port_type@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
	str	wzr, [sp, #12]
	ldr	w8, [x19]
	cbnz	w8, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _MLX5_CAP_PORT_TYPE_ETH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_CAP_PORT_TYPE_ETH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	x1, sp, #12
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_mlx5_query_nic_vport_system_image_guid
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_mlx5_query_hca_vport_system_image_guid
LBB0_4:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_5:
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_port_type,4,2                  ; @port_type
	.comm	_MLX5_CAP_PORT_TYPE_ETH,4,2     ; @MLX5_CAP_PORT_TYPE_ETH
.subsections_via_symbols
