	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_iitba_cb
_add_iitba_cb:                          ## @add_iitba_cb
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	24(%rsi), %edi
	movq	8(%r14), %rax
	movl	(%rax), %esi
	callq	_get_mapping
	movl	%eax, %r15d
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	callq	_assert
	movl	28(%rbx), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_list_remove
	movq	%r14, -32(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -40(%rbp)
	movl	%r15d, -48(%rbp)
	movq	_MCD_F_REFMERGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	movl	%eax, -44(%rbp)
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movq	_iidesc_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rsi
	callq	_hash_match
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_debug
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_conjure_iidesc
	movq	8(%rbx), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_hash_add
LBB0_3:
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCD_F_REFMERGE,4,2             ## @MCD_F_REFMERGE
	.comm	_iidesc_match,4,2               ## @iidesc_match
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iidesc_t %s already exists\n"

L_.str.1:                               ## @.str.1
	.asciz	"(anon)"

	.no_dead_strip	_add_iitba_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_iitba_cb
_add_iitba_cb:                          ; @add_iitba_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x1, #24]
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	bl	_get_mapping
	mov	x21, x0
	cmn	w0, #1
	cset	w0, ne
	bl	_assert
	ldr	w0, [x19, #28]
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	bl	_list_remove
	str	x20, [sp, #24]
	ldr	w8, [x19, #24]
	str	w8, [sp, #16]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MCD_F_REFMERGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MCD_F_REFMERGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	stp	w21, w8, [sp, #8]
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _iidesc_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _iidesc_match@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x1, x20
	bl	_hash_match
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, l_.str.1@PAGE
Lloh7:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x2, x9, x8, eq
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_debug
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_conjure_iidesc
	mov	x1, x0
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_hash_add
LBB0_3:
	mov	w0, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MCD_F_REFMERGE,4,2             ; @MCD_F_REFMERGE
	.comm	_iidesc_match,4,2               ; @iidesc_match
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iidesc_t %s already exists\n"

l_.str.1:                               ; @.str.1
	.asciz	"(anon)"

	.no_dead_strip	_add_iitba_cb
.subsections_via_symbols
