	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gb_operation_create_incoming
_gb_operation_create_incoming:          ## @gb_operation_create_incoming
	.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	%r8, %r15
	movq	%rcx, %r14
	movq	%rsi, %r12
	movq	_GB_OPERATION_FLAG_INCOMING@GOTPCREL(%rip), %rcx
	leaq	-4(%r8), %rax
	testq	%rsi, %rsi
	jne	LBB0_1
## %bb.2:
	movq	_GB_OPERATION_FLAG_UNIDIRECTIONAL@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	jmp	LBB0_3
LBB0_1:
	xorl	%r8d, %r8d
LBB0_3:
	orq	(%rcx), %r8
	movq	_GB_REQUEST_TYPE_INVALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	_gb_operation_create_common
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r12, 8(%rbx)
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_trace_gb_operation_create_incoming
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GB_OPERATION_FLAG_INCOMING,8,3 ## @GB_OPERATION_FLAG_INCOMING
	.comm	_GB_OPERATION_FLAG_UNIDIRECTIONAL,8,3 ## @GB_OPERATION_FLAG_UNIDIRECTIONAL
	.comm	_GB_REQUEST_TYPE_INVALID,4,2    ## @GB_REQUEST_TYPE_INVALID
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_gb_operation_create_incoming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gb_operation_create_incoming
_gb_operation_create_incoming:          ; @gb_operation_create_incoming
	.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	x19, x4
	mov	x20, x3
	mov	x8, x2
	mov	x21, x1
	sub	x2, x4, #4
Lloh0:
	adrp	x9, _GB_OPERATION_FLAG_INCOMING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GB_OPERATION_FLAG_INCOMING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _GB_OPERATION_FLAG_UNIDIRECTIONAL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _GB_OPERATION_FLAG_UNIDIRECTIONAL@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x1, #0
	csel	x10, x10, xzr, eq
	orr	x4, x10, x9
Lloh6:
	adrp	x9, _GB_REQUEST_TYPE_INVALID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GB_REQUEST_TYPE_INVALID@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x9]
Lloh9:
	adrp	x9, _GFP_ATOMIC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GFP_ATOMIC@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x9]
	mov	x1, x8
	bl	_gb_operation_create_common
	mov	x22, x0
	cbz	x0, LBB0_2
; %bb.1:
	str	x21, [x22, #8]
	ldr	x8, [x22]
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	mov	x0, x22
	bl	_trace_gb_operation_create_incoming
LBB0_2:
	mov	x0, x22
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GB_OPERATION_FLAG_INCOMING,8,3 ; @GB_OPERATION_FLAG_INCOMING
	.comm	_GB_OPERATION_FLAG_UNIDIRECTIONAL,8,3 ; @GB_OPERATION_FLAG_UNIDIRECTIONAL
	.comm	_GB_REQUEST_TYPE_INVALID,4,2    ; @GB_REQUEST_TYPE_INVALID
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_gb_operation_create_incoming
.subsections_via_symbols
