	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdp_out_bitmap_caps
_rdp_out_bitmap_caps:                   ## @rdp_out_bitmap_caps
	.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
	movl	%edi, %ebx
	movq	_RDP_CAPSET_BITMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_out_uint16_le
	movq	_RDP_CAPLEN_BITMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_out_uint16_le
	movq	_g_server_depth@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_out_uint16_le
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_out_uint16_le
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_out_uint16_le
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_out_uint16_le
	movl	%ebx, %edi
	movl	$800, %esi                      ## imm = 0x320
	callq	_out_uint16_le
	movl	%ebx, %edi
	movl	$600, %esi                      ## imm = 0x258
	callq	_out_uint16_le
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_out_uint16
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_out_uint16
	movq	_g_bitmap_compression@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	cmpq	$0, (%rax)
	setne	%sil
	movl	%ebx, %edi
	callq	_out_uint16_le
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_out_uint16
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_out_uint16_le
	movl	%ebx, %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_out_uint16                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RDP_CAPSET_BITMAP,4,2          ## @RDP_CAPSET_BITMAP
	.comm	_RDP_CAPLEN_BITMAP,4,2          ## @RDP_CAPLEN_BITMAP
	.comm	_g_server_depth,4,2             ## @g_server_depth
	.comm	_g_bitmap_compression,8,3       ## @g_bitmap_compression
	.no_dead_strip	_rdp_out_bitmap_caps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdp_out_bitmap_caps
_rdp_out_bitmap_caps:                   ; @rdp_out_bitmap_caps
	.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, x0
Lloh0:
	adrp	x8, _RDP_CAPSET_BITMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDP_CAPSET_BITMAP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_out_uint16_le
Lloh3:
	adrp	x8, _RDP_CAPLEN_BITMAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDP_CAPLEN_BITMAP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_out_uint16_le
Lloh6:
	adrp	x8, _g_server_depth@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_server_depth@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_out_uint16_le
	mov	x0, x19
	mov	w1, #1
	bl	_out_uint16_le
	mov	x0, x19
	mov	w1, #1
	bl	_out_uint16_le
	mov	x0, x19
	mov	w1, #1
	bl	_out_uint16_le
	mov	x0, x19
	mov	w1, #800
	bl	_out_uint16_le
	mov	x0, x19
	mov	w1, #600
	bl	_out_uint16_le
	mov	x0, x19
	mov	w1, #0
	bl	_out_uint16
	mov	x0, x19
	mov	w1, #1
	bl	_out_uint16
Lloh9:
	adrp	x8, _g_bitmap_compression@GOTPAGE
Lloh10:
	ldr	x8, [x8, _g_bitmap_compression@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x19
	bl	_out_uint16_le
	mov	x0, x19
	mov	w1, #0
	bl	_out_uint16
	mov	x0, x19
	mov	w1, #1
	bl	_out_uint16_le
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_out_uint16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RDP_CAPSET_BITMAP,4,2          ; @RDP_CAPSET_BITMAP
	.comm	_RDP_CAPLEN_BITMAP,4,2          ; @RDP_CAPLEN_BITMAP
	.comm	_g_server_depth,4,2             ; @g_server_depth
	.comm	_g_bitmap_compression,8,3       ; @g_bitmap_compression
	.no_dead_strip	_rdp_out_bitmap_caps
.subsections_via_symbols
