	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwdpm_create_bridge            ## -- Begin function iwdpm_create_bridge
	.p2align	4, 0x90
_iwdpm_create_bridge:                   ## @iwdpm_create_bridge
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$4096, %edi                     ## imm = 0x1000
	callq	_sm_new
	movq	%rax, %rbx
	movl	24(%r14), %esi
	movl	28(%r14), %edi
	callq	_iwdp_new
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, 16(%r14)
	movq	%rax, 8(%r14)
	movq	_iwdpm_subscribe@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rax)
	movq	_iwdpm_attach@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rax)
	movq	_iwdpm_select_port@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rax)
	movq	_iwdpm_listen@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	_iwdpm_connect@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movq	_iwdpm_send@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_iwdpm_add_fd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_iwdpm_remove_fd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	%r14, 8(%rax)
	movq	%r14, (%rax)
	movq	_iwdpm_on_accept@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_iwdpm_on_sent@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_iwdpm_on_recv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_iwdpm_on_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%r14, 8(%rbx)
	movq	%r14, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sm_free                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_iwdpm_subscribe,4,2            ## @iwdpm_subscribe
	.comm	_iwdpm_attach,4,2               ## @iwdpm_attach
	.comm	_iwdpm_select_port,4,2          ## @iwdpm_select_port
	.comm	_iwdpm_listen,4,2               ## @iwdpm_listen
	.comm	_iwdpm_connect,4,2              ## @iwdpm_connect
	.comm	_iwdpm_send,4,2                 ## @iwdpm_send
	.comm	_iwdpm_add_fd,4,2               ## @iwdpm_add_fd
	.comm	_iwdpm_remove_fd,4,2            ## @iwdpm_remove_fd
	.comm	_iwdpm_on_accept,4,2            ## @iwdpm_on_accept
	.comm	_iwdpm_on_sent,4,2              ## @iwdpm_on_sent
	.comm	_iwdpm_on_recv,4,2              ## @iwdpm_on_recv
	.comm	_iwdpm_on_close,4,2             ## @iwdpm_on_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwdpm_create_bridge            ; -- Begin function iwdpm_create_bridge
	.p2align	2
_iwdpm_create_bridge:                   ; @iwdpm_create_bridge
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #4096
	bl	_sm_new
	mov	x20, x0
	ldp	w1, w0, [x19, #24]
	bl	_iwdp_new
	cbz	x20, LBB0_3
; %bb.1:
	cbz	x0, LBB0_3
; %bb.2:
	stp	x0, x20, [x19, #8]
Lloh0:
	adrp	x8, _iwdpm_subscribe@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iwdpm_subscribe@GOTPAGEOFF]
Lloh2:
	adrp	x9, _iwdpm_attach@GOTPAGE
Lloh3:
	ldr	x9, [x9, _iwdpm_attach@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #40]
Lloh6:
	adrp	x8, _iwdpm_select_port@GOTPAGE
Lloh7:
	ldr	x8, [x8, _iwdpm_select_port@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _iwdpm_listen@GOTPAGE
Lloh10:
	ldr	x9, [x9, _iwdpm_listen@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #32]
Lloh12:
	adrp	x8, _iwdpm_connect@GOTPAGE
Lloh13:
	ldr	x8, [x8, _iwdpm_connect@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _iwdpm_send@GOTPAGE
Lloh16:
	ldr	x9, [x9, _iwdpm_send@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh18:
	adrp	x8, _iwdpm_add_fd@GOTPAGE
Lloh19:
	ldr	x8, [x8, _iwdpm_add_fd@GOTPAGEOFF]
Lloh20:
	adrp	x9, _iwdpm_remove_fd@GOTPAGE
Lloh21:
	ldr	x9, [x9, _iwdpm_remove_fd@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	stp	x19, x19, [x0]
Lloh24:
	adrp	x8, _iwdpm_on_accept@GOTPAGE
Lloh25:
	ldr	x8, [x8, _iwdpm_on_accept@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _iwdpm_on_sent@GOTPAGE
Lloh28:
	ldr	x9, [x9, _iwdpm_on_sent@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
Lloh30:
	adrp	x8, _iwdpm_on_recv@GOTPAGE
Lloh31:
	ldr	x8, [x8, _iwdpm_on_recv@GOTPAGEOFF]
Lloh32:
	adrp	x9, _iwdpm_on_close@GOTPAGE
Lloh33:
	ldr	x9, [x9, _iwdpm_on_close@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
	stp	x19, x19, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sm_free
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_iwdpm_subscribe,4,2            ; @iwdpm_subscribe
	.comm	_iwdpm_attach,4,2               ; @iwdpm_attach
	.comm	_iwdpm_select_port,4,2          ; @iwdpm_select_port
	.comm	_iwdpm_listen,4,2               ; @iwdpm_listen
	.comm	_iwdpm_connect,4,2              ; @iwdpm_connect
	.comm	_iwdpm_send,4,2                 ; @iwdpm_send
	.comm	_iwdpm_add_fd,4,2               ; @iwdpm_add_fd
	.comm	_iwdpm_remove_fd,4,2            ; @iwdpm_remove_fd
	.comm	_iwdpm_on_accept,4,2            ; @iwdpm_on_accept
	.comm	_iwdpm_on_sent,4,2              ; @iwdpm_on_sent
	.comm	_iwdpm_on_recv,4,2              ; @iwdpm_on_recv
	.comm	_iwdpm_on_close,4,2             ; @iwdpm_on_close
.subsections_via_symbols
