	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_set_nic_state             ## -- Begin function mlx5_set_nic_state
	.p2align	4, 0x90
_mlx5_set_nic_state:                    ## @mlx5_set_nic_state
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_ioread32be
	movq	_MLX5_NIC_IFC_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	andl	$-4096, %eax                    ## imm = 0xF000
	orl	%eax, %ebx
	movq	(%r14), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_iowrite32be                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_NIC_IFC_OFFSET,4,2        ## @MLX5_NIC_IFC_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_set_nic_state             ; -- Begin function mlx5_set_nic_state
	.p2align	2
_mlx5_set_nic_state:                    ; @mlx5_set_nic_state
	.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, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_ioread32be
	and	w8, w0, #0xfffff000
Lloh0:
	adrp	x9, _MLX5_NIC_IFC_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX5_NIC_IFC_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w9, w19, w9
	orr	w0, w9, w8
	ldr	x1, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iowrite32be
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_NIC_IFC_OFFSET,4,2        ; @MLX5_NIC_IFC_OFFSET
.subsections_via_symbols
