	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_vf_get_enable_smi_admin   ## -- Begin function mlx4_vf_get_enable_smi_admin
	.p2align	4, 0x90
_mlx4_vf_get_enable_smi_admin:          ## @mlx4_vf_get_enable_smi_admin
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_mlx4_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_mlx4_master_func_num
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	%r12d, %ecx
	je	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.2:
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.3:
	cmpl	%r12d, (%rbx)
	jle	LBB0_6
## %bb.4:
	movq	_MLX4_MAX_PORTS@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jl	LBB0_6
## %bb.5:
	movq	(%r15), %rax
	movl	%r12d, %ecx
	movq	(%rax,%rcx,8), %rax
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %rcx
	movq	_MLX4_VF_SMI_ENABLED@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_MAX_PORTS,4,2             ## @MLX4_MAX_PORTS
	.comm	_MLX4_VF_SMI_ENABLED,8,3        ## @MLX4_VF_SMI_ENABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_vf_get_enable_smi_admin   ; -- Begin function mlx4_vf_get_enable_smi_admin
	.p2align	2
_mlx4_vf_get_enable_smi_admin:          ; @mlx4_vf_get_enable_smi_admin
	.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, x2
	mov	x20, x1
	mov	x22, x0
	bl	_mlx4_priv
	mov	x21, x0
	mov	x0, x22
	bl	_mlx4_master_func_num
	cmp	w0, w20
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_8
LBB0_2:
	cmp	w20, #1
	b.lt	LBB0_7
; %bb.3:
	mov	w0, #0
	cmp	w19, #1
	b.lt	LBB0_8
; %bb.4:
	ldr	w8, [x22]
	cmp	w8, w20
	b.le	LBB0_8
; %bb.5:
Lloh0:
	adrp	x8, _MLX4_MAX_PORTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_MAX_PORTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.lt	LBB0_8
; %bb.6:
	ldr	x8, [x21]
	ldr	x8, [x8, w20, uxtw #3]
	ldr	x8, [x8, w19, uxtw #3]
Lloh3:
	adrp	x9, _MLX4_VF_SMI_ENABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX4_VF_SMI_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_MAX_PORTS,4,2             ; @MLX4_MAX_PORTS
	.comm	_MLX4_VF_SMI_ENABLED,8,3        ; @MLX4_VF_SMI_ENABLED
.subsections_via_symbols
