	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dev_irnet_poll
_dev_irnet_poll:                        ## @dev_irnet_poll
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	_FS_TRACE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_DENTER
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	movq	_POLLWRNORM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	movq	_FS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movl	%ebx, %esi
	callq	_DABORT
	cmpl	$0, (%r12)
	jne	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_irnet_ctrl_poll
	orl	%eax, %ebx
LBB0_2:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	callq	_DEXIT
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FS_TRACE,4,2                   ## @FS_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(file=0x%p, ap=0x%p)\n"

	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.comm	_POLLWRNORM,4,2                 ## @POLLWRNORM
	.comm	_FS_ERROR,4,2                   ## @FS_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"ap is NULL !!!\n"

L_.str.2:                               ## @.str.2
	.asciz	" - mask=0x%X\n"

	.no_dead_strip	_dev_irnet_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dev_irnet_poll
_dev_irnet_poll:                        ; @dev_irnet_poll
	.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, x1
	mov	x21, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x23, _FS_TRACE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FS_TRACE@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x22
	bl	_DENTER
Lloh4:
	adrp	x8, _POLLOUT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _POLLOUT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _POLLWRNORM@GOTPAGE
Lloh8:
	ldr	x9, [x9, _POLLWRNORM@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w20, w9, w8
	cmp	x22, #0
	cset	w0, eq
Lloh10:
	adrp	x8, _FS_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FS_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x3, l_.str.1@PAGE
Lloh14:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_DABORT
	ldr	w8, [x22]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_irnet_ctrl_poll
	orr	w20, w0, w20
LBB0_2:
	ldr	w0, [x23]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_DEXIT
	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 AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_FS_TRACE,4,2                   ; @FS_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(file=0x%p, ap=0x%p)\n"

	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.comm	_POLLWRNORM,4,2                 ; @POLLWRNORM
	.comm	_FS_ERROR,4,2                   ; @FS_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"ap is NULL !!!\n"

l_.str.2:                               ; @.str.2
	.asciz	" - mask=0x%X\n"

	.no_dead_strip	_dev_irnet_poll
.subsections_via_symbols
