	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibmasm_send_i2o_message        ## -- Begin function ibmasm_send_i2o_message
	.p2align	4, 0x90
_ibmasm_send_i2o_message:               ## @ibmasm_send_i2o_message
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movl	(%rdi), %edi
	callq	_get_mfa_inbound
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movq	(%r12), %rdi
	callq	_get_dot_command_size
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_outgoing_message_size
	movq	_header@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %edi
	movl	%r14d, %esi
	callq	_get_i2o_message
	movq	%rax, %r13
	leaq	4(%rax), %rdi
	movq	_header@GOTPCREL(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy_toio
	movq	(%r12), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_memcpy_toio
	movl	(%rbx), %edi
	movl	%r14d, %esi
	callq	_set_mfa_inbound
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_header,4,2                     ## @header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibmasm_send_i2o_message        ; -- Begin function ibmasm_send_i2o_message
	.p2align	2
_ibmasm_send_i2o_message:               ; @ibmasm_send_i2o_message
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x24, [x0, #8]
	ldr	w0, [x0]
	bl	_get_mfa_inbound
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x0, [x24]
	bl	_get_dot_command_size
	mov	x21, x0
	bl	_outgoing_message_size
Lloh0:
	adrp	x22, _header@GOTPAGE
Lloh1:
	ldr	x22, [x22, _header@GOTPAGEOFF]
	str	w0, [x22]
	ldr	w0, [x19]
	mov	x1, x20
	bl	_get_i2o_message
	mov	x23, x0
	add	x0, x0, #4
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy_toio
	ldr	x1, [x24]
	mov	x0, x23
	mov	x2, x21
	bl	_memcpy_toio
	ldr	w0, [x19]
	mov	x1, x20
	bl	_set_mfa_inbound
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_header,4,2                     ; @header
.subsections_via_symbols
