	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SPI_unregister_relation        ## -- Begin function SPI_unregister_relation
	.p2align	4, 0x90
_SPI_unregister_relation:               ## @SPI_unregister_relation
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	xorl	%edi, %edi
	callq	__SPI_begin_call
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	__SPI_find_ENR_by_name
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	__SPI_current@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_unregister_ENR
	movq	_SPI_OK_REL_UNREGISTER@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_SPI_ERROR_ARGUMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_8
LBB0_3:
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_5:
	movq	_SPI_ERROR_REL_NOT_FOUND@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
	xorl	%edi, %edi
	callq	__SPI_end_call
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPI_ERROR_ARGUMENT,4,2         ## @SPI_ERROR_ARGUMENT
	.comm	__SPI_current,8,3               ## @_SPI_current
	.comm	_SPI_OK_REL_UNREGISTER,4,2      ## @SPI_OK_REL_UNREGISTER
	.comm	_SPI_ERROR_REL_NOT_FOUND,4,2    ## @SPI_ERROR_REL_NOT_FOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SPI_unregister_relation        ; -- Begin function SPI_unregister_relation
	.p2align	2
_SPI_unregister_relation:               ; @SPI_unregister_relation
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	w0, #0
	bl	__SPI_begin_call
	tbnz	w0, #31, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	__SPI_find_ENR_by_name
	cbz	x0, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, __SPI_current@GOTPAGE
Lloh1:
	ldr	x8, [x8, __SPI_current@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldr	w1, [x0]
	mov	x0, x8
	bl	_unregister_ENR
Lloh3:
	adrp	x8, _SPI_OK_REL_UNREGISTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPI_OK_REL_UNREGISTER@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x8, _SPI_ERROR_ARGUMENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SPI_ERROR_ARGUMENT@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	b	LBB0_8
LBB0_5:
	mov	x19, x0
	b	LBB0_8
LBB0_6:
Lloh8:
	adrp	x8, _SPI_ERROR_REL_NOT_FOUND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SPI_ERROR_REL_NOT_FOUND@GOTPAGEOFF]
LBB0_7:
	ldr	w19, [x8]
	mov	w0, #0
	bl	__SPI_end_call
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SPI_ERROR_ARGUMENT,4,2         ; @SPI_ERROR_ARGUMENT
	.comm	__SPI_current,8,3               ; @_SPI_current
	.comm	_SPI_OK_REL_UNREGISTER,4,2      ; @SPI_OK_REL_UNREGISTER
	.comm	_SPI_ERROR_REL_NOT_FOUND,4,2    ; @SPI_ERROR_REL_NOT_FOUND
.subsections_via_symbols
