	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_image_bmp
_decode_image_bmp:                      ## @decode_image_bmp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_GUID_ContainerFormatBmp@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_decode_image_wic
	movq	_Ok@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rcx
	movq	(%rcx), %rdx
	movq	_PixelFormat32bppARGB@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_3
## %bb.2:
	movq	_PixelFormat32bppRGB@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rcx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GUID_ContainerFormatBmp,4,2    ## @GUID_ContainerFormatBmp
	.comm	_Ok,8,3                         ## @Ok
	.comm	_PixelFormat32bppARGB,8,3       ## @PixelFormat32bppARGB
	.comm	_PixelFormat32bppRGB,8,3        ## @PixelFormat32bppRGB
	.no_dead_strip	_decode_image_bmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_image_bmp
_decode_image_bmp:                      ; @decode_image_bmp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x1, _GUID_ContainerFormatBmp@GOTPAGE
Lloh1:
	ldr	x1, [x1, _GUID_ContainerFormatBmp@GOTPAGEOFF]
	mov	x2, #0
	mov	x3, x19
	bl	_decode_image_wic
Lloh2:
	adrp	x8, _Ok@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Ok@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x8]
Lloh5:
	adrp	x10, _PixelFormat32bppARGB@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PixelFormat32bppARGB@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
Lloh8:
	adrp	x9, _PixelFormat32bppRGB@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PixelFormat32bppRGB@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GUID_ContainerFormatBmp,4,2    ; @GUID_ContainerFormatBmp
	.comm	_Ok,8,3                         ; @Ok
	.comm	_PixelFormat32bppARGB,8,3       ; @PixelFormat32bppARGB
	.comm	_PixelFormat32bppRGB,8,3        ; @PixelFormat32bppRGB
	.no_dead_strip	_decode_image_bmp
.subsections_via_symbols
