	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_sapi_phpdbg_ub_write
_php_sapi_phpdbg_ub_write:              ## @php_sapi_phpdbg_ub_write
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_socket_fd@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_PHPDBG_G
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.1:
	movq	_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PHPDBG_G
	movq	_PHPDBG_IS_INTERACTIVE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movl	(%r15), %edi
	callq	_PHPDBG_G
	movl	%eax, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_send
LBB0_3:
	movq	_P_STDOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_phpdbg_script                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_socket_fd,4,2                  ## @socket_fd
	.comm	_flags,4,2                      ## @flags
	.comm	_PHPDBG_IS_INTERACTIVE,4,2      ## @PHPDBG_IS_INTERACTIVE
	.comm	_P_STDOUT,4,2                   ## @P_STDOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.*s"

	.no_dead_strip	_php_sapi_phpdbg_ub_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_sapi_phpdbg_ub_write
_php_sapi_phpdbg_ub_write:              ; @php_sapi_phpdbg_ub_write
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _socket_fd@GOTPAGE
Lloh1:
	ldr	x21, [x21, _socket_fd@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_PHPDBG_G
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _flags@GOTPAGE
Lloh3:
	ldr	x8, [x8, _flags@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_PHPDBG_G
Lloh5:
	adrp	x8, _PHPDBG_IS_INTERACTIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PHPDBG_IS_INTERACTIVE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x21]
	bl	_PHPDBG_G
	mov	x1, x19
	mov	x2, x20
	mov	w3, #0
	bl	_send
LBB0_3:
Lloh8:
	adrp	x8, _P_STDOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _P_STDOUT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, 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
	b	_phpdbg_script
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_socket_fd,4,2                  ; @socket_fd
	.comm	_flags,4,2                      ; @flags
	.comm	_PHPDBG_IS_INTERACTIVE,4,2      ; @PHPDBG_IS_INTERACTIVE
	.comm	_P_STDOUT,4,2                   ; @P_STDOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.*s"

	.no_dead_strip	_php_sapi_phpdbg_ub_write
.subsections_via_symbols
