	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmon_download
_pmon_download:                         ## @pmon_download
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %edx
	movq	%rdi, %rsi
	movq	_tftp_in_use@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.5:
	movq	_tftp_file@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rsi, %rdi
	movl	$1, %esi
	popq	%rbp
	jmp	_fwrite                         ## TAILCALL
LBB0_1:
	movq	_udp_in_use@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	_mips_desc@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_udp_desc@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	popq	%rbp
	jmp	_serial_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tftp_in_use,8,3                ## @tftp_in_use
	.comm	_tftp_file,4,2                  ## @tftp_file
	.comm	_udp_in_use,8,3                 ## @udp_in_use
	.comm	_udp_desc,4,2                   ## @udp_desc
	.comm	_mips_desc,4,2                  ## @mips_desc
	.no_dead_strip	_pmon_download
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmon_download
_pmon_download:                         ; @pmon_download
	.cfi_startproc
; %bb.0:
	mov	x2, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _tftp_in_use@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tftp_in_use@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _tftp_file@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tftp_file@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x1
	mov	w1, #1
	b	_fwrite
LBB0_2:
Lloh6:
	adrp	x8, _udp_in_use@GOTPAGE
Lloh7:
	ldr	x8, [x8, _udp_in_use@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _udp_desc@GOTPAGE
Lloh10:
	ldr	x9, [x9, _udp_desc@GOTPAGEOFF]
Lloh11:
	adrp	x10, _mips_desc@GOTPAGE
Lloh12:
	ldr	x10, [x10, _mips_desc@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	b	_serial_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_tftp_in_use,8,3                ; @tftp_in_use
	.comm	_tftp_file,4,2                  ; @tftp_file
	.comm	_udp_in_use,8,3                 ; @udp_in_use
	.comm	_udp_desc,4,2                   ; @udp_desc
	.comm	_mips_desc,4,2                  ; @mips_desc
	.no_dead_strip	_pmon_download
.subsections_via_symbols
