	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_mad
_init_mad:                              ## @init_mad
	.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, %rbx
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_IB_MGMT_BASE_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_IB_MGMT_CLASS_SUBN_ADM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_IB_SA_CLASS_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_tid_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_tid@GOTPCREL(%rip), %rax
	incl	(%rax)
	callq	_cpu_to_be64
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MGMT_BASE_VERSION,4,2       ## @IB_MGMT_BASE_VERSION
	.comm	_IB_MGMT_CLASS_SUBN_ADM,4,2     ## @IB_MGMT_CLASS_SUBN_ADM
	.comm	_IB_SA_CLASS_VERSION,4,2        ## @IB_SA_CLASS_VERSION
	.comm	_tid_lock,4,2                   ## @tid_lock
	.comm	_tid,4,2                        ## @tid
	.no_dead_strip	_init_mad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_mad
_init_mad:                              ; @init_mad
	.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
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _IB_MGMT_BASE_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_MGMT_BASE_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #12]
Lloh3:
	adrp	x8, _IB_MGMT_CLASS_SUBN_ADM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_MGMT_CLASS_SUBN_ADM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IB_SA_CLASS_VERSION@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_SA_CLASS_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
Lloh9:
	adrp	x20, _tid_lock@GOTPAGE
Lloh10:
	ldr	x20, [x20, _tid_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh11:
	adrp	x8, _tid@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tid@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_cpu_to_be64
	str	w0, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MGMT_BASE_VERSION,4,2       ; @IB_MGMT_BASE_VERSION
	.comm	_IB_MGMT_CLASS_SUBN_ADM,4,2     ; @IB_MGMT_CLASS_SUBN_ADM
	.comm	_IB_SA_CLASS_VERSION,4,2        ; @IB_SA_CLASS_VERSION
	.comm	_tid_lock,4,2                   ; @tid_lock
	.comm	_tid,4,2                        ; @tid
	.no_dead_strip	_init_mad
.subsections_via_symbols
