	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_get_xbm
_php_get_xbm:                           ## @php_get_xbm
	.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, %r12
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	$0, (%r12)
LBB0_2:
	movq	%r15, %rdi
	callq	_php_stream_rewind
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_php_stream_gets
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %rbx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	%r13d, %r12d
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_efree
	movq	%r14, %rdi
	callq	_efree
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_php_stream_gets
	movq	%rax, %rbx
	movl	%r12d, %r13d
	testq	%rax, %rax
	je	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_estrdup
	movq	%rax, %r14
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	leaq	-44(%rbp), %rcx
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	movl	$95, %esi
	callq	_strrchr
	leaq	1(%rax), %r12
	testq	%rax, %rax
	cmoveq	%r14, %r12
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-44(%rbp), %r13d
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-44(%rbp), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	testl	%r13d, %r13d
	je	LBB0_7
LBB0_14:
	movq	%r14, %rdi
	callq	_efree
	movq	%rbx, %rdi
	callq	_efree
	movl	%r13d, %r12d
LBB0_15:
	xorl	%r14d, %r14d
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.16:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_3
## %bb.17:
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.18:
	movl	$1, %edi
	movl	$8, %esi
	callq	_ecalloc
	movq	%rax, (%rbx)
	movl	%r12d, (%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 4(%rax)
LBB0_19:
	movq	_IMAGE_FILETYPE_XBM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#define %s %d"

L_.str.1:                               ## @.str.1
	.asciz	"width"

L_.str.2:                               ## @.str.2
	.asciz	"height"

	.comm	_IMAGE_FILETYPE_XBM,4,2         ## @IMAGE_FILETYPE_XBM
	.no_dead_strip	_php_get_xbm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_get_xbm
_php_get_xbm:                           ; @php_get_xbm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	cbz	x1, LBB0_2
; %bb.1:
	str	xzr, [x19]
LBB0_2:
	mov	x0, x20
	bl	_php_stream_rewind
	cbz	x0, LBB0_5
; %bb.3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	bl	_php_stream_gets
	cbz	x0, LBB0_4
; %bb.6:
	mov	x21, x0
	mov	w27, #0
	mov	w28, #0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh4:
	adrp	x24, l_.str.2@PAGE
Lloh5:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	bl	_efree
	mov	x0, x25
	bl	_efree
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	bl	_php_stream_gets
	mov	x21, x0
	cbz	x0, LBB0_14
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_estrdup
	mov	x25, x0
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
	mov	w1, #95
	bl	_strrchr
	cmp	x0, #0
	csinc	x26, x25, x0, eq
	mov	x0, x23
	mov	x1, x26
	bl	_strcmp
	cbnz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w28, [sp, #12]
	cbnz	w27, LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	mov	x1, x26
	bl	_strcmp
	cbnz	w0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w27, [sp, #12]
	cbz	w28, LBB0_7
LBB0_13:
	mov	x0, x25
	bl	_efree
	mov	x0, x21
	bl	_efree
LBB0_14:
	mov	w0, #0
	cbz	w28, LBB0_4
; %bb.15:
	cbz	w27, LBB0_4
; %bb.16:
	cbz	x19, LBB0_18
; %bb.17:
	mov	w0, #1
	mov	w1, #8
	bl	_ecalloc
	str	x0, [x19]
	stp	w28, w27, [x0]
LBB0_18:
Lloh6:
	adrp	x8, _IMAGE_FILETYPE_XBM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IMAGE_FILETYPE_XBM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_4
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#define %s %d"

l_.str.1:                               ; @.str.1
	.asciz	"width"

l_.str.2:                               ; @.str.2
	.asciz	"height"

	.comm	_IMAGE_FILETYPE_XBM,4,2         ; @IMAGE_FILETYPE_XBM
	.no_dead_strip	_php_get_xbm
.subsections_via_symbols
