	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carp_master_down_locked
_carp_master_down_locked:               ## @carp_master_down_locked
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_CARP_LOCK_ASSERT
	cmpl	$130, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$128, %esi
	movq	%r14, %rdx
	callq	_carp_set_state
	movq	%rbx, %rdi
	callq	_carp_send_ad_locked
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_carp_setrun
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_carp_addroute                  ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_carp_master_down_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carp_master_down_locked
_carp_master_down_locked:               ; @carp_master_down_locked
	.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	x20, x1
	mov	x19, x0
	bl	_CARP_LOCK_ASSERT
	ldr	w8, [x19]
	cmp	w8, #130
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #128
	mov	x2, x20
	bl	_carp_set_state
	mov	x0, x19
	bl	_carp_send_ad_locked
	mov	x0, x19
	mov	w1, #0
	bl	_carp_setrun
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_carp_addroute
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_carp_master_down_locked
.subsections_via_symbols
