	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brush_fill_path
_brush_fill_path:                       ## @brush_fill_path
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	_Ok@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	cmpl	$128, (%rsi)
	jne	LBB0_7
## %bb.1:
	movl	$128, %edi
	callq	_ARGB2BMP
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movl	%eax, %r15d
	movl	(%r13), %edi
	movq	_RGN_AND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SelectClipPath
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movl	(%r13), %edi
	leaq	-72(%rbp), %rsi
	callq	_GetClipBox
	movq	_NULLREGION@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_13
## %bb.4:
	xorl	%edi, %edi
	callq	_CreateCompatibleDC
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	movl	%eax, %r12d
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_SelectObject
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rcx
	subq	%rsi, %rcx
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %r8
	subq	%rdx, %r8
	movq	%r13, %rdi
	movl	%r12d, %r9d
	pushq	$1
	pushq	$1
	pushq	$0
	pushq	$0
	callq	_gdi_alpha_blend
	addq	$32, %rsp
	movl	%r12d, %edi
	callq	_DeleteDC
	jmp	LBB0_13
LBB0_7:
	movq	%rbx, %rdi
	callq	_create_gdi_brush
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %ebx
	movl	(%r13), %edi
	movl	%eax, %esi
	callq	_SelectObject
	movl	%eax, %r15d
	movl	(%r13), %edi
	callq	_FillPath
	movl	(%r13), %edi
	movl	%r15d, %esi
	callq	_SelectObject
	movl	%ebx, %edi
	jmp	LBB0_14
LBB0_9:
	movq	_OutOfMemory@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_15
LBB0_10:
	movq	_GenericError@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_OutOfMemory@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %r14d
LBB0_13:
	movl	%r15d, %edi
LBB0_14:
	callq	_DeleteObject
LBB0_15:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Ok,4,2                         ## @Ok
	.comm	_RGN_AND,4,2                    ## @RGN_AND
	.comm	_GenericError,4,2               ## @GenericError
	.comm	_NULLREGION,4,2                 ## @NULLREGION
	.comm	_OutOfMemory,4,2                ## @OutOfMemory
	.no_dead_strip	_brush_fill_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brush_fill_path
_brush_fill_path:                       ; @brush_fill_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _Ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Ok@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	w8, [x1]
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.1:
	mov	w0, #128
	bl	_ARGB2BMP
	cbz	w0, LBB0_6
; %bb.2:
	mov	x21, x0
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _RGN_AND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RGN_AND@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SelectClipPath
	cbz	w0, LBB0_9
; %bb.3:
	ldr	w0, [x20]
	add	x1, sp, #16
	bl	_GetClipBox
Lloh6:
	adrp	x8, _NULLREGION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NULLREGION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_12
; %bb.4:
	mov	x0, #0
	bl	_CreateCompatibleDC
	cbz	w0, LBB0_10
; %bb.5:
	mov	x22, x0
	mov	x1, x21
	bl	_SelectObject
	ldp	x1, x8, [sp, #32]
	sub	x3, x8, x1
	ldp	x2, x8, [sp, #16]
	sub	x4, x8, x2
	mov	x8, #4294967297
	str	x8, [sp]
	mov	x0, x20
	mov	x5, x22
	mov	w6, #0
	mov	w7, #0
	bl	_gdi_alpha_blend
	mov	x0, x22
	bl	_DeleteDC
	b	LBB0_12
LBB0_6:
	mov	x0, x22
	bl	_create_gdi_brush
	cbz	w0, LBB0_8
; %bb.7:
	mov	x21, x0
	ldr	w0, [x20]
	mov	x1, x21
	bl	_SelectObject
	mov	x22, x0
	ldr	w0, [x20]
	bl	_FillPath
	ldr	w0, [x20]
	mov	x1, x22
	bl	_SelectObject
	b	LBB0_12
LBB0_8:
Lloh9:
	adrp	x8, _OutOfMemory@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OutOfMemory@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	b	LBB0_13
LBB0_9:
Lloh12:
	adrp	x8, _GenericError@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GenericError@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh14:
	adrp	x8, _OutOfMemory@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OutOfMemory@GOTPAGEOFF]
LBB0_11:
	ldr	w19, [x8]
LBB0_12:
	mov	x0, x21
	bl	_DeleteObject
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_Ok,4,2                         ; @Ok
	.comm	_RGN_AND,4,2                    ; @RGN_AND
	.comm	_GenericError,4,2               ; @GenericError
	.comm	_NULLREGION,4,2                 ; @NULLREGION
	.comm	_OutOfMemory,4,2                ; @OutOfMemory
	.no_dead_strip	_brush_fill_path
.subsections_via_symbols
