	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function receive_dmsg
_receive_dmsg:                          ## @receive_dmsg
	.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	%rdi, %rbx
	movq	_FLG_LOCK_ATOMIC@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_debugl1
	jmp	LBB0_8
LBB0_1:
	movq	_HFCSX_SEL_D_RX@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_fifo
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_skb_queue_tail
	movq	_D_RCVBUFREADY@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_schedule_event
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_fifo
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_skb_queue_tail
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_schedule_event
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_fifo
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_skb_queue_tail
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_schedule_event
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_fifo
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_skb_queue_tail
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_schedule_event
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_fifo
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_skb_queue_tail
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_schedule_event
LBB0_7:
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
LBB0_8:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLG_LOCK_ATOMIC,4,2            ## @FLG_LOCK_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rec_dmsg blocked"

	.comm	_HFCSX_SEL_D_RX,4,2             ## @HFCSX_SEL_D_RX
	.comm	_D_RCVBUFREADY,4,2              ## @D_RCVBUFREADY
	.no_dead_strip	_receive_dmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function receive_dmsg
_receive_dmsg:                          ; @receive_dmsg
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _FLG_LOCK_ATOMIC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FLG_LOCK_ATOMIC@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_and_set_bit
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_debugl1
	b	LBB0_9
LBB0_2:
Lloh4:
	adrp	x22, _HFCSX_SEL_D_RX@GOTPAGE
Lloh5:
	ldr	x22, [x22, _HFCSX_SEL_D_RX@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_read_fifo
	cbz	x0, LBB0_8
; %bb.3:
	mov	x1, x0
	add	x20, x19, #4
	mov	x0, x20
	bl	_skb_queue_tail
Lloh6:
	adrp	x23, _D_RCVBUFREADY@GOTPAGE
Lloh7:
	ldr	x23, [x23, _D_RCVBUFREADY@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_schedule_event
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_read_fifo
	cbz	x0, LBB0_8
; %bb.4:
	mov	x1, x0
	mov	x0, x20
	bl	_skb_queue_tail
	ldr	w1, [x23]
	mov	x0, x19
	bl	_schedule_event
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_read_fifo
	cbz	x0, LBB0_8
; %bb.5:
	mov	x1, x0
	mov	x0, x20
	bl	_skb_queue_tail
	ldr	w1, [x23]
	mov	x0, x19
	bl	_schedule_event
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_read_fifo
	cbz	x0, LBB0_8
; %bb.6:
	mov	x1, x0
	mov	x0, x20
	bl	_skb_queue_tail
	ldr	w1, [x23]
	mov	x0, x19
	bl	_schedule_event
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_read_fifo
	cbz	x0, LBB0_8
; %bb.7:
	mov	x1, x0
	mov	x0, x20
	bl	_skb_queue_tail
	ldr	w1, [x23]
	mov	x0, x19
	bl	_schedule_event
LBB0_8:
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_and_clear_bit
LBB0_9:
	mov	w0, #1
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FLG_LOCK_ATOMIC,4,2            ; @FLG_LOCK_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rec_dmsg blocked"

	.comm	_HFCSX_SEL_D_RX,4,2             ; @HFCSX_SEL_D_RX
	.comm	_D_RCVBUFREADY,4,2              ; @D_RCVBUFREADY
	.no_dead_strip	_receive_dmsg
.subsections_via_symbols
