	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_bin2hex
_php_bin2hex:                           ## @php_bin2hex
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	%rsi, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_zend_string_safe_alloc
	movq	%rax, %r12
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_hexconvtab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movzbl	(%r15,%r14), %ecx
	shrq	$4, %rcx
	movzbl	(%rax,%rcx), %r13d
	movq	%r12, %rdi
	callq	_ZSTR_VAL
	movb	%r13b, (%rax,%rbx)
	movq	_hexconvtab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%r15,%r14), %ecx
	andl	$15, %ecx
	movzbl	(%rax,%rcx), %r13d
	movq	%r12, %rdi
	callq	_ZSTR_VAL
	movb	%r13b, 1(%rax,%rbx)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	addq	$2, %rbx
	incq	%r14
	cmpq	%r14, %r15
	jne	LBB0_2
LBB0_3:
	movq	%r12, %rdi
	callq	_ZSTR_VAL
	movb	$0, (%rax,%rbx)
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hexconvtab,8,3                 ## @hexconvtab
	.no_dead_strip	_php_bin2hex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_bin2hex
_php_bin2hex:                           ; @php_bin2hex
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	w1, #2
	mov	w2, #0
	mov	w3, #0
	bl	_zend_string_safe_alloc
	mov	x19, x0
	cbz	x20, LBB0_3
; %bb.1:
	mov	x23, #0
Lloh0:
	adrp	x22, _hexconvtab@GOTPAGE
Lloh1:
	ldr	x22, [x22, _hexconvtab@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldrb	w9, [x21]
	lsr	x9, x9, #4
	ldrb	w24, [x8, x9]
	mov	x0, x19
	bl	_ZSTR_VAL
	strb	w24, [x0, x23]
	ldr	x8, [x22]
	ldrb	w9, [x21], #1
	and	x9, x9, #0xf
	ldrb	w25, [x8, x9]
	mov	x0, x19
	bl	_ZSTR_VAL
	add	x24, x23, #2
	add	x8, x0, x23
	strb	w25, [x8, #1]
	mov	x23, x24
	subs	x20, x20, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x24, #0
LBB0_4:
	mov	x0, x19
	bl	_ZSTR_VAL
	strb	wzr, [x0, x24]
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_hexconvtab,8,3                 ; @hexconvtab
	.no_dead_strip	_php_bin2hex
.subsections_via_symbols
