	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdbr_get_baddr                 ## -- Begin function gdbr_get_baddr
	.p2align	4, 0x90
_gdbr_get_baddr:                        ## @gdbr_get_baddr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_UINT64_MAX@GOTPCREL(%rip), %r12
	movq	(%r12), %r14
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rdi, %rbx
	callq	_gdbr_lock_enter
	testl	%eax, %eax
	je	LBB0_15
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_send_msg
	testq	%rax, %rax
	js	LBB0_14
## %bb.3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_read_packet
	testq	%rax, %rax
	js	LBB0_14
## %bb.4:
	movq	%rbx, %rdi
	callq	_send_ack
	testq	%rax, %rax
	js	LBB0_14
## %bb.5:
	cmpq	$0, (%rbx)
	je	LBB0_14
## %bb.6:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_r_str_startswith
	movq	8(%rbx), %r15
	testq	%rax, %rax
	je	LBB0_17
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	_strlen
	movslq	%eax, %r12
	movsbl	(%r15,%r12), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_15
## %bb.8:
	addq	%r12, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtoull
	cmpq	%r14, %rax
	cmovlq	%rax, %r14
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:
	movq	%rax, %r15
	cmpb	$0, 1(%rax)
	je	LBB0_15
## %bb.10:
	incq	%r15
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_r_str_startswith
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
LBB0_12:
	callq	_strlen
	movslq	%eax, %r12
	movsbl	(%r15,%r12), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	addq	%r12, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtoull
	cmpq	%r14, %rax
	cmovlq	%rax, %r14
	jmp	LBB0_15
LBB0_17:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_r_str_startswith
	testq	%rax, %rax
	je	LBB0_15
## %bb.18:
	movq	8(%rbx), %r15
	leaq	L_.str.3(%rip), %rdi
	callq	_strlen
	movslq	%eax, %r13
	movsbl	(%r15,%r13), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_15
## %bb.19:
	addq	%r13, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtoull
	cmpq	%r14, %rax
	cmovlq	%rax, %r14
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.20:
	movq	%rax, %r15
	leaq	1(%rax), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_r_str_startswith
	testq	%rax, %rax
	je	LBB0_14
## %bb.21:
	leaq	L_.str.5(%rip), %rdi
	callq	_strlen
	movslq	%eax, %r13
	movsbl	(%r15,%r13), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_14
## %bb.22:
	addq	%r13, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtoull
	cmpq	%r14, %rax
	cmovlq	%rax, %r14
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.23:
	movq	%rax, %r15
	incq	%r15
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_r_str_startswith
	testq	%rax, %rax
	je	LBB0_15
## %bb.24:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_12
LBB0_14:
	movq	(%r12), %r14
LBB0_15:
	movq	%rbx, %rdi
	callq	_gdbr_lock_leave
LBB0_16:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,8,3                 ## @UINT64_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qOffsets"

L_.str.1:                               ## @.str.1
	.asciz	"TextSeg="

L_.str.2:                               ## @.str.2
	.asciz	"DataSeg="

L_.str.3:                               ## @.str.3
	.asciz	"Text="

L_.str.4:                               ## @.str.4
	.asciz	"Data="

L_.str.5:                               ## @.str.5
	.asciz	";Data="

L_.str.6:                               ## @.str.6
	.asciz	"Bss="

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdbr_get_baddr                 ; -- Begin function gdbr_get_baddr
	.p2align	2
_gdbr_get_baddr:                        ; @gdbr_get_baddr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x22, _UINT64_MAX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _UINT64_MAX@GOTPAGEOFF]
	ldr	x20, [x22]
	cbz	x0, LBB0_24
; %bb.1:
	mov	x19, x0
	bl	_gdbr_lock_enter
	cbz	w0, LBB0_23
; %bb.2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_send_msg
	tbnz	x0, #63, LBB0_22
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	bl	_read_packet
	tbnz	x0, #63, LBB0_22
; %bb.4:
	mov	x0, x19
	bl	_send_ack
	tbnz	x0, #63, LBB0_22
; %bb.5:
	ldr	x8, [x19]
	cbz	x8, LBB0_22
; %bb.6:
	ldr	x0, [x19, #8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_r_str_startswith
	ldr	x21, [x19, #8]
	cbz	x0, LBB0_14
; %bb.7:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_strlen
	add	x21, x21, w0, sxtw
	ldrsb	w0, [x21]
	bl	_isxdigit
	cbz	w0, LBB0_23
; %bb.8:
	mov	x0, x21
	mov	x1, #0
	mov	w2, #16
	bl	_strtoull
	cmp	x0, x20
	csel	x20, x0, x20, lt
	mov	x0, x21
	mov	w1, #59
	bl	_strchr
	cbz	x0, LBB0_23
; %bb.9:
	mov	x21, x0
	ldrb	w8, [x21, #1]!
	cbz	w8, LBB0_23
; %bb.10:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_r_str_startswith
	cbz	x0, LBB0_23
; %bb.11:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_12:
	bl	_strlen
	add	x21, x21, w0, sxtw
	ldrsb	w0, [x21]
	bl	_isxdigit
	cbz	w0, LBB0_23
; %bb.13:
	mov	x0, x21
	mov	x1, #0
	mov	w2, #16
	bl	_strtoull
	cmp	x0, x20
	csel	x20, x0, x20, lt
	b	LBB0_23
LBB0_14:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_r_str_startswith
	cbz	x0, LBB0_23
; %bb.15:
	ldr	x21, [x19, #8]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_strlen
	add	x21, x21, w0, sxtw
	ldrsb	w0, [x21]
	bl	_isxdigit
	cbz	w0, LBB0_23
; %bb.16:
	mov	x0, x21
	mov	x1, #0
	mov	w2, #16
	bl	_strtoull
	cmp	x0, x20
	csel	x23, x0, x20, lt
	mov	x0, x21
	mov	w1, #59
	bl	_strchr
	cbz	x0, LBB0_22
; %bb.17:
	mov	x20, x0
	add	x0, x0, #1
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_r_str_startswith
	cbz	x0, LBB0_22
; %bb.18:
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_strlen
	add	x21, x20, w0, sxtw
	ldrsb	w0, [x21]
	bl	_isxdigit
	cbz	w0, LBB0_22
; %bb.19:
	mov	x0, x21
	mov	x1, #0
	mov	w2, #16
	bl	_strtoull
	cmp	x0, x23
	csel	x20, x0, x23, lt
	mov	x0, x21
	mov	w1, #59
	bl	_strchr
	cbz	x0, LBB0_23
; %bb.20:
	add	x21, x0, #1
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_r_str_startswith
	cbz	x0, LBB0_23
; %bb.21:
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_22:
	ldr	x20, [x22]
LBB0_23:
	mov	x0, x19
	bl	_gdbr_lock_leave
LBB0_24:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,8,3                 ; @UINT64_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qOffsets"

l_.str.1:                               ; @.str.1
	.asciz	"TextSeg="

l_.str.2:                               ; @.str.2
	.asciz	"DataSeg="

l_.str.3:                               ; @.str.3
	.asciz	"Text="

l_.str.4:                               ; @.str.4
	.asciz	"Data="

l_.str.5:                               ; @.str.5
	.asciz	";Data="

l_.str.6:                               ; @.str.6
	.asciz	"Bss="

.subsections_via_symbols
