	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwdp_iwi_new                   ## -- Begin function iwdp_iwi_new
	.p2align	4, 0x90
_iwdp_iwi_new:                          ## @iwdp_iwi_new
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movl	$4, %edi
	callq	_malloc
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movslq	%eax, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_TYPE_IWI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_HT_STRING_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ht_new
	movq	%rax, 16(%rbx)
	movq	_HT_INT_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ht_new
	movq	%rax, 24(%rbx)
	xorl	%eax, %eax
	callq	_rpc_new
	movq	%rax, %r15
	movl	%r12d, %edi
	callq	_wi_new
	testq	%r15, %r15
	je	LBB0_6
## %bb.2:
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.4:
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_iwdp_on_reportSetup@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%r15)
	movq	_iwdp_on_reportConnectedApplicationList@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r15)
	movq	_iwdp_on_applicationConnected@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%r15)
	movq	_iwdp_on_applicationDisconnected@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r15)
	movq	_iwdp_on_applicationSentListing@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%r15)
	movq	_iwdp_on_applicationSentData@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r15)
	movq	_iwdp_on_applicationUpdated@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r15)
	movq	_iwdp_send_plist@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r15)
	movq	%rbx, (%r15)
	movq	%r15, 8(%rbx)
	movq	_iwdp_send_packet@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_iwdp_recv_plist@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	%rbx, 8(%rax)
	movq	%r14, (%rax)
	movq	%rax, (%rbx)
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	callq	_iwdp_iwi_free
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_IWI,4,2                   ## @TYPE_IWI
	.comm	_HT_STRING_KEYS,4,2             ## @HT_STRING_KEYS
	.comm	_HT_INT_KEYS,4,2                ## @HT_INT_KEYS
	.comm	_iwdp_on_reportSetup,4,2        ## @iwdp_on_reportSetup
	.comm	_iwdp_on_reportConnectedApplicationList,4,2 ## @iwdp_on_reportConnectedApplicationList
	.comm	_iwdp_on_applicationConnected,4,2 ## @iwdp_on_applicationConnected
	.comm	_iwdp_on_applicationDisconnected,4,2 ## @iwdp_on_applicationDisconnected
	.comm	_iwdp_on_applicationSentListing,4,2 ## @iwdp_on_applicationSentListing
	.comm	_iwdp_on_applicationSentData,4,2 ## @iwdp_on_applicationSentData
	.comm	_iwdp_on_applicationUpdated,4,2 ## @iwdp_on_applicationUpdated
	.comm	_iwdp_send_plist,4,2            ## @iwdp_send_plist
	.comm	_iwdp_send_packet,4,2           ## @iwdp_send_packet
	.comm	_iwdp_recv_plist,4,2            ## @iwdp_recv_plist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwdp_iwi_new                   ; -- Begin function iwdp_iwi_new
	.p2align	2
_iwdp_iwi_new:                          ; @iwdp_iwi_new
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x22, x0
	mov	w0, #4
	bl	_malloc
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_7
; %bb.1:
	sxtw	x20, w0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh0:
	adrp	x8, _TYPE_IWI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_IWI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #32]
Lloh3:
	adrp	x8, _HT_STRING_KEYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HT_STRING_KEYS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ht_new
	str	x0, [x20, #16]
Lloh6:
	adrp	x8, _HT_INT_KEYS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HT_INT_KEYS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_ht_new
	str	x0, [x20, #24]
	bl	_rpc_new
	mov	x21, x0
	mov	x0, x22
	bl	_wi_new
	cbz	x21, LBB0_6
; %bb.2:
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _iwdp_on_reportSetup@GOTPAGE
Lloh10:
	ldr	x8, [x8, _iwdp_on_reportSetup@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _iwdp_on_reportConnectedApplicationList@GOTPAGE
Lloh13:
	ldr	x9, [x9, _iwdp_on_reportConnectedApplicationList@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _iwdp_on_applicationConnected@GOTPAGE
Lloh16:
	ldr	x10, [x10, _iwdp_on_applicationConnected@GOTPAGEOFF]
	stp	w9, w8, [x21, #32]
Lloh17:
	ldr	w8, [x10]
Lloh18:
	adrp	x9, _iwdp_on_applicationDisconnected@GOTPAGE
Lloh19:
	ldr	x9, [x9, _iwdp_on_applicationDisconnected@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #24]
Lloh21:
	adrp	x8, _iwdp_on_applicationSentListing@GOTPAGE
Lloh22:
	ldr	x8, [x8, _iwdp_on_applicationSentListing@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _iwdp_on_applicationSentData@GOTPAGE
Lloh25:
	ldr	x9, [x9, _iwdp_on_applicationSentData@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
Lloh27:
	adrp	x8, _iwdp_on_applicationUpdated@GOTPAGE
Lloh28:
	ldr	x8, [x8, _iwdp_on_applicationUpdated@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _iwdp_send_plist@GOTPAGE
Lloh31:
	ldr	x9, [x9, _iwdp_send_plist@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #8]
	str	x20, [x21]
Lloh33:
	adrp	x8, _iwdp_send_packet@GOTPAGE
Lloh34:
	ldr	x8, [x8, _iwdp_send_packet@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _iwdp_recv_plist@GOTPAGE
Lloh37:
	ldr	x9, [x9, _iwdp_recv_plist@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	stp	x19, x20, [x0]
	stp	x0, x21, [x20]
	b	LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_iwdp_iwi_free
LBB0_7:
	mov	x20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_IWI,4,2                   ; @TYPE_IWI
	.comm	_HT_STRING_KEYS,4,2             ; @HT_STRING_KEYS
	.comm	_HT_INT_KEYS,4,2                ; @HT_INT_KEYS
	.comm	_iwdp_on_reportSetup,4,2        ; @iwdp_on_reportSetup
	.comm	_iwdp_on_reportConnectedApplicationList,4,2 ; @iwdp_on_reportConnectedApplicationList
	.comm	_iwdp_on_applicationConnected,4,2 ; @iwdp_on_applicationConnected
	.comm	_iwdp_on_applicationDisconnected,4,2 ; @iwdp_on_applicationDisconnected
	.comm	_iwdp_on_applicationSentListing,4,2 ; @iwdp_on_applicationSentListing
	.comm	_iwdp_on_applicationSentData,4,2 ; @iwdp_on_applicationSentData
	.comm	_iwdp_on_applicationUpdated,4,2 ; @iwdp_on_applicationUpdated
	.comm	_iwdp_send_plist,4,2            ; @iwdp_send_plist
	.comm	_iwdp_send_packet,4,2           ; @iwdp_send_packet
	.comm	_iwdp_recv_plist,4,2            ; @iwdp_recv_plist
.subsections_via_symbols
