	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_devmode_handleA
_update_devmode_handleA:                ## @update_devmode_handleA
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_GlobalSize
	movq	8(%r14), %rsi
	addq	(%r14), %rsi
	cmpq	%rax, %rsi
	jle	LBB0_5
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_GlobalReAlloc
	jmp	LBB0_4
LBB0_3:
	movq	_GMEM_MOVEABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GlobalAlloc
LBB0_4:
	movq	%rax, %rbx
LBB0_5:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	callq	_GlobalLock
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	8(%r14), %rdx
	addq	(%r14), %rdx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_GlobalUnlock
	jmp	LBB0_10
LBB0_8:
	movq	%rbx, %rdi
	callq	_GlobalFree
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GMEM_MOVEABLE,4,2              ## @GMEM_MOVEABLE
	.no_dead_strip	_update_devmode_handleA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_devmode_handleA
_update_devmode_handleA:                ; @update_devmode_handleA
	.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	x20, x1
	mov	x19, x0
	bl	_GlobalSize
	ldp	x8, x9, [x20]
	add	x1, x9, x8
	cmp	x1, x0
	b.le	LBB0_5
; %bb.1:
	cbz	x19, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w2, #0
	bl	_GlobalReAlloc
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _GMEM_MOVEABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GMEM_MOVEABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_GlobalAlloc
LBB0_4:
	mov	x19, x0
LBB0_5:
	cbz	x19, LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_GlobalLock
	cbz	x0, LBB0_8
; %bb.7:
	ldp	x8, x9, [x20]
	add	x2, x9, x8
	mov	x1, x20
	bl	_memcpy
	mov	x0, x19
	bl	_GlobalUnlock
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_GlobalFree
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GMEM_MOVEABLE,4,2              ; @GMEM_MOVEABLE
	.no_dead_strip	_update_devmode_handleA
.subsections_via_symbols
