	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __esw_offloads_unload_rep
___esw_offloads_unload_rep:             ## @__esw_offloads_unload_rep
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	(,%rdx,4), %rdi
	addq	(%rsi), %rdi
	movq	_REP_LOADED@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	_REP_REGISTERED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_atomic_cmpxchg
	cmpq	(%r12), %rax
	jne	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movq	(%rax,%r14,8), %rax
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REP_LOADED,8,3                 ## @REP_LOADED
	.comm	_REP_REGISTERED,4,2             ## @REP_REGISTERED
	.no_dead_strip	___esw_offloads_unload_rep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __esw_offloads_unload_rep
___esw_offloads_unload_rep:             ; @__esw_offloads_unload_rep
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x1]
	add	x0, x8, x2, lsl #2
Lloh0:
	adrp	x22, _REP_LOADED@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REP_LOADED@GOTPAGEOFF]
	ldr	x1, [x22]
Lloh2:
	adrp	x8, _REP_REGISTERED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REP_REGISTERED@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_atomic_cmpxchg
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	x8, [x8, x20, lsl #3]
	ldr	x1, [x8]
	mov	x0, x19
	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
	br	x1
LBB0_2:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REP_LOADED,8,3                 ; @REP_LOADED
	.comm	_REP_REGISTERED,4,2             ; @REP_REGISTERED
	.no_dead_strip	___esw_offloads_unload_rep
.subsections_via_symbols
