	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reg_callback
_reg_callback:                          ## @reg_callback
	.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	%rdi, %rbx
	movq	_reg_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	(%rbx), %r14
	movq	8(%rbx), %rbx
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rcx
	movq	_tipc_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_tipc_own_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_reg_lock,4,2                   ## @reg_lock
	.comm	_tipc_mode,4,2                  ## @tipc_mode
	.comm	_tipc_own_addr,4,2              ## @tipc_own_addr
	.no_dead_strip	_reg_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reg_callback
_reg_callback:                          ; @reg_callback
	.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	x20, _reg_lock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _reg_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_bh
	ldp	x19, x0, [x19]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x20
	bl	_spin_unlock_bh
	ldr	x3, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x3, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _tipc_mode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tipc_mode@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _tipc_own_addr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tipc_own_addr@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	br	x3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_reg_lock,4,2                   ; @reg_lock
	.comm	_tipc_mode,4,2                  ; @tipc_mode
	.comm	_tipc_own_addr,4,2              ; @tipc_own_addr
	.no_dead_strip	_reg_callback
.subsections_via_symbols
